What the hell is going on with Apache????

O

ozzi4648

Guest
This is now the second time we have had to /etc/rc.d/init.d/httpd stop then start Apache to keep Squirrelmail happy. What is Apache doing in Cpanel?

We have Squirrelmail running writing to a postgresql database. 99% of our users are Squirrelmail users. Every 3 days or so we get trouble tickets claiming the after the users log into Squirrelmail they get a PAGE NOT FOUND. After looking at this awhile i noticed that restarting postgresql does not solve the problem. The only thing that solves this problem is stopping Apache completely then starting it. Whats up with that?

This should not even be an issue. Squirrelmail is being used by thousands worldwide and there are no reports of this being a problem. Writing user preferences to Postgresql or Mysql should also not be an issue. Whats wrong with Apache on Cpanel??????
 

Juanra

Well-Known Member
Sep 22, 2001
777
0
316
Spain
We are having a similar problem since we upgraded to PHP 4.3.0. We had to reinstall imap, and now using the imap functions in PHP stops working every now and then (I think it's after upcp runs - I'm not 100% sure about this, though). We have to stop and start Apache for it to work again (a graceful restart won't do). I don't have the least idea of what's causing this. I've been trying to find out how imap works on the server but it all seems quite convoluted to me (for starters, there are 3 imapd files, but only of c-client.a file). I'm not even sure that it's actually imap causing these problems.

Maybe this is related with your case? Did you reinstall imap? What version of PHP are you running? Does Horde IMP work when Squirrelmail does/doesn't?
 
O

ozzi4648

Guest
[quote:0d589ea63e][i:0d589ea63e]Originally posted by Juanra[/i:0d589ea63e]

We are having a similar problem since we upgraded to PHP 4.3.0. We had to reinstall imap, and now using the imap functions in PHP stops working every now and then (I think it's after upcp runs - I'm not 100% sure about this, though). We have to stop and start Apache for it to work again (a graceful restart won't do). I don't have the least idea of what's causing this. I've been trying to find out how imap works on the server but it all seems quite convoluted to me (for starters, there are 3 imapd files, but only of c-client.a file). I'm not even sure that it's actually imap causing these problems.

Maybe this is related with your case? Did you reinstall imap? What version of PHP are you running? Does Horde IMP work when Squirrelmail does/doesn't?[/quote:0d589ea63e]

Horde and Neomail continue to function, unfortunately! When Squirrelmail goes down. Its something we wish wouldnt but anyway. We are still running 4.2.3 of php so im not sure this is the issue. Im wondering if its a whole bunch of runaway httpd processes that accumulate or something. Another thing, this box has been up for 64days yet its already using 6% swap. Very inefficient! 6% swap after only 64days is ridiculous on a machine that loads 1.5gig of memory with 170 sites running. And our memory consumption is barely 30% so how can this be possible?
 

orangechicken

Member
Dec 4, 2002
10
0
151
What is the error when this happens in squirrelmail? Is there even an error?

I'm running in to an issue with CPanel's IMAP server where PHP will just fail to send anything to the client when imap_open is called. Just a blank screen (or network error in Lynx or 64 - Host not available from an ISA proxy).

Is this what you were getting?

-chicken