Current time: 11-23-2024, 07:00 AM Hello There, Guest! (LoginRegister)


Post Reply 
ispCP locks up when adding/deleting domains
Author Message
corra Offline
Newbie
*

Posts: 6
Joined: Jul 2009
Reputation: 0
Post: #1
ispCP locks up when adding/deleting domains
Hi Everyone,

Think ispCP is absolutely brilliant and think the devs have done an awesome job. I've only just started using it though and I'm having a few issues.

FreeBSD 7.2 Jail, followed the FreeBSD tutorial exactly.

Firstly ispcp_daemon wouldn't start up and I didn't change a thing and now it does.

Now every time I add a domain or delete a domain / do anything else involving ispcp_daemon I suspect I start getting 500 errors and max execution time exceeded errors. And when looking in top php-cgi is running at 100% cpu, I then need to do a killall -9 php-cgi to enable Apache to respond again.

Any help would be much appreciated Smile
07-23-2009 07:58 AM
Find all posts by this user Quote this message in a reply
corra Offline
Newbie
*

Posts: 6
Joined: Jul 2009
Reputation: 0
Post: #2
RE: ispCP locks up when adding/deleting domains
I have investigated further and discovered the only way to sucessfully add/remove domains is to killall -9 php-cgi after adding and then run ispcp-rqst-mngr to complete the domain addition.
07-24-2009 03:14 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #3
RE: ispCP locks up when adding/deleting domains
Can you strace the 100% cpu usage php5-cgi to see what is it doing? I suspect that it's a trashing problem (out of ram, machine begins swapping, I/O is killed and you get an unresponsive server), but I may be wrong...
07-24-2009 04:22 PM
Visit this user's website Find all posts by this user Quote this message in a reply
corra Offline
Newbie
*

Posts: 6
Joined: Jul 2009
Reputation: 0
Post: #4
RE: ispCP locks up when adding/deleting domains
Does strace have an amd64 equivalent because I can't make the port :
===> strace-4.5.18_1 is only for i386, while you are running amd64.

This machine is a dual 3.6ghz xeon with 5gb of ram and plenty available.
07-24-2009 05:55 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #5
RE: ispCP locks up when adding/deleting domains
I'm just a linux guy, this should serve the same purpose in the BSD world Wink
07-25-2009 02:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
vlad.gladin Offline


Posts: 1
Joined: Jul 2009
Reputation: 0
Post: #6
RE: ispCP locks up when adding/deleting domains
Exacly the same configuration here.... exactly the same error.

freebsd amd64, 7.2 inside a jail.
I think it's something to do with the daemon locking when adding a domain or doing some conf work.
I am still investigating.
It might be a permission problem somewhere.
07-25-2009 02:06 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)