do i have too many apache processes?

Of course you can retry, and of course you may have some other problem :) I'm not God, I can't know what's in your system and prevent anything from happening... but aside from mod_php, I can't think of anything else widely used and not threading safe.
If I were you, I'd try. You have to refund your customers anyway... ;)
 
I setsession-start]: open(/tmp/sess_f998ea16935d68a4189e9ec577627976, O_RDWR) failed: Permission denied (13) in /home/admin/domains/***/public_html/top.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/admin/domains/***.nl/public_html/top.php:2) in /home/admin/domains/***/public_html/top.php on line 2[/QUOTE]

What did I do wrong?
 
Last edited:
This is due to the fact that now you are using suPHP therefore all scripts run with their user ownership, so the old PHP session files aren't accessible.
You may simply "rm /tmp/sess_*", users will just have to relogin on some websites.

I suggest searching this forum and Google if you have any other problem before asking here, this way you will have an answer right away instead of waiting for mine ;)
For example: http://www.directadmin.com/forum/showthread.php?t=29483
 
i have the same problem,

so many httpd pid's that the server load gets so high that i cant get on the server anymore.

does this sollution realy help ??


greetings franco
 
Hello,

1) Use this to see what website is causing the load:
http://help.directadmin.com/item.php?id=91

2) Also check the above, plus the output from:
Code:
netstat -np | grep httpd
to see if there are many connections from 1 client. If there, are enable mod_antiloris in case it's an attack (not likely, but possible)
http://help.directadmin.com/item.php?id=302
it limits the number of simultaneous requests a client can make.

John
 
apache works on either prefork or threaded

Apache eats a lot of system resources (in both MPM prefork and threaded model). But is a very efficient web server. If you want to save system resources and serve pages fastly then have a look @ nginx...it has got all the abilities that a web server needs to have...http://slashroot.in/how-is-nginx-different-from-apache
 
Back
Top