Web Hosting Talk







View Full Version : httpd spinning out of control + xcalloc: allocation error, size = 476


CallMeJ
11-26-2002, 10:00 AM
I have a RaQ4i.

Yesterday, my httpd processes were spinning out of control and eating up all cpu and ram. This would happen within minutes fo a reboot.

Eventually, I decided to get a few hours of sleep and come back. (No customers on this server, but I do have personal websites there.) Anyway, I expected no response from the server this morning. Instead, everything seems almost normal again.

I left my ssh client connected, and this command line error showed up:

xcalloc: allocation error, size = 476

Recent odd entries in my apache logs, with a few of each:

Ouch! malloc failed in malloc_block()

[warn] child process 621 still did not exit, sending a SIGTERM

[notice] caught SIGTERM, shutting down
[notice] Apache configured -- resuming normal operations

[error] (32)Broken pipe: accept: (client socket)

I had 28 Broken pipe errors within 10 seconds.

I'm not even sure where to begin. I have done some searches and have seen it suggested this could be related to php/MySQL.

Does anyone see anything familiar? Any suggestions?

tazzy
11-26-2002, 10:02 AM
Hello,

Have you got your raq box completely up to date?

CallMeJ
11-26-2002, 11:31 AM
Yep, all patches have been applied.... within the last 20 days, anyway. Unless I'm really worried, I usually let some of the more brave out there test them.

Also, I forgot to say... I did set max requests per child to 300, hoping it might help. I don't think it made a difference, since this box has crashed for no apparent reason before and then ran fine for awhile. Until now, I've just never seen what crashed it.