Hello,
Thanks for your suggestions. I realize -reading them- that the problem
probably came because I changed the /etc/securiry/limits.conf and added
these:
* hard core 0
* hard rss 5000
* hard nproc 20
and then the limit of proccesses is set to 20. Is it possible to add here
something like
www hard nproc 200
for example, to override these settings only for the user www (running httpd
using "User: www")?
On the other side, I am using already PHP (and like it a lot), but this is
an old project running SSI (through mod_perl) and because we are working on
an updated (and PHP) version, I don't want to touch the old one...
(By the way, I agree with you that is better to use the time to write more
code instead of manteining/configuring...)
Thanks!
Tomás
> Hi Tomás,
>
> This is a system issue not an apache one. You are probably running out of
> processes available since each CGI script is a new process. Imagine having
> hundreds or thousands of users logged in and each starting a program to run.
>
> You have a few choices. I have to assume you have a very busy site, or you
> would not likely encounter these problems.
>
> 1. Change your system setting to allow for more users and processes.
>
> 2. Move to mod_perl so that your perl interpreter runs in the apache
> process. (Make sure to read up on the differences. Poorly written scripts
> can wreak havoc in this method.)
>
> 3. Move to PHP (my personal choice) and eliminate the security issues of SSI
> and the process limitations of CGI.
>
> Summary: IMHO CGI is no longer a valid choice for busy sites. It can cause
> problems like these and result in too much time being spent on system
> maintenance/configuration instead of using that time to write more code.
> Make the move to one of the many module based scripting options (ie.
> mod_perl, mod_php, zope, aol_server, cold fusion(commercial), etc.), you'll
> be glad in the long run.
>
> Have fun,
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list