For months, I have been starting aolserver with a 4Mb stacksize.
ns_param stacksize [expr 4*1024*1024]
Last night around 4am, one of my aolserver processes died, and the restart code could not resurrect it.
Looking in the server logs, what I see are endless restarts all ending with:
: nsthread(1526) error: pthread_attr_setstacksize failed in NsThreadCreate: Invalid argument
When I set the stacksize to 2Mb, everything runs just fine once more.
Can anyone help me understand this behavior?
In the interest of finger pointing without understanding, yesterday I installed the RH 8 ptrace patch with its new kernel, but I hadn't rebooted this server yet.
Thanks,