Pixelated a phpBB Template by SkaidonDesigns
 
Cheapest Web Software Support Area Forum Index www.cheapestwebsoftware.com
Play with the Best, be the Best!
Blogs Automater
FAQ
Search
Memberlist
Usergroups
Profile
Log in to check your private messages
Log in

The Mightiest Webmaster Solutions Ever
Cheapest Web Software
Cheapest Web Software
Gallery Scraper
Gallery Scraper
Special Offers
Special Offers
Porn Blog Space
Porn Blog Space

Haven't registered yet? Do it here now!
BO Filling up all connections on my server?

 
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Blogs Organizer
View previous topic :: View next topic  
Author Message
intexxxhib



Joined: 18 Nov 2008
Posts: 36

PostPosted: Wed Apr 07, 2010 8:49 am    Post subject: BO Filling up all connections on my server? Reply with quote
I asked if my server was down, and got the following replies:

"I just got the alarm on it a few minutes ago, someone had tied up all of your HTTP connections so it couldn't serve any pages up. I was trying to get in, but it requires 1 open connection to show who is on all of the other ones. I wasn't able to get in before you wrote in, so I just gave it a restart to bring it back up now."

"I see that a lot of your hits are from blogsorganizer locally hitting itself, it could have filled up all the connections."
Back to top
View user's profile Send private message

Author Message
Atanasis
Owner


Joined: 22 May 2004
Posts: 4284
Location: The Net

PostPosted: Wed Apr 07, 2010 6:12 pm    Post subject: Reply with quote
hm, something definitely is not right BO to be locally hitting itself.. Can your host support provide information like what files are being hit exactly?
_________________
Thanks,
Kaktusan

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number

Author Message
intexxxhib



Joined: 18 Nov 2008
Posts: 36

PostPosted: Thu Apr 08, 2010 10:06 am    Post subject: Reply with quote
Here is the response that I just got from them:

"Heres a screenshot of the connections:

http://www.cyberwurx.com/tmp/b1hcxl65.png

You can see for yourself in text here:
http://pup521.conepuppy.com/cw-server-status

Everywhere that you see 66.154.54.202, that is the source address, which is local to the server. It means something on the server is making a http call to itself most likely from intexxxhib.com.

If you show them the cw-server-status page they should be able to read it and know what it is doing

Now they aren't all active connections, some of them are expired slots, but it does show that BO is hitting itself "
Back to top
View user's profile Send private message

Author Message
Atanasis
Owner


Joined: 22 May 2004
Posts: 4284
Location: The Net

PostPosted: Thu Apr 08, 2010 10:30 am    Post subject: Reply with quote
yes, BO is hitting itself for displaying the blogs.

you know that for example the actual blog files are in /bo/boblogs/ directory.
So, when someone visits your blog the blog linking files at that blog is calling the files from /bo/boblogs/

Thats how BO works, but it shouldn't cause any problems, because it calls them and closes connection.

In your apache status i just took a look and all seems fine. BO is calling the files and stuff ends. There are empty slots as your support said with connections made, but they are already done and apache just still shows them.

Tell me is this problem happening regularly or just once? What could have happened is if something hitboted most of your blogs and your apache got overloaded because it needed to process all that stuff in pretty short time period..
_________________
Thanks,
Kaktusan

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number

Author Message
intexxxhib



Joined: 18 Nov 2008
Posts: 36

PostPosted: Thu Apr 08, 2010 11:57 am    Post subject: Reply with quote
I just got this reply:

"Seems like its not that regular of a problem, we need to see the status next time it is full of connections. That status wasn't showing anything wrong since it wasn't failing at the time. Theres only a limited amount of connections though since each connection takes up around 20MB of ram for PHP to run. So if each hit to the blog takes two connections, theres only slots for 10 people or so with 512MB of ram"
Back to top
View user's profile Send private message

Author Message
Atanasis
Owner


Joined: 22 May 2004
Posts: 4284
Location: The Net

PostPosted: Thu Apr 08, 2010 12:32 pm    Post subject: Reply with quote
hm, why would it take 20MB of ram? The one hit could take that much since it is processing the actual blog file which is having php code, but the 2nd is doing just a include of the 1st one..

do you have eAccelerator installed in your php? It is doing nice work of caching most of the regularly executed php code and speeding up things a lot?
_________________
Thanks,
Kaktusan

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number

Author Message
intexxxhib



Joined: 18 Nov 2008
Posts: 36

PostPosted: Thu Apr 08, 2010 2:24 pm    Post subject: Reply with quote
I just got this reply:

"Apache + php = about 20MB or so for each fork regardless of what it is doing, heres a short dump of a few processes:

www-data 27373 1.2 4.5 53492 35044 ? S Apr07 5:02 /usr/sbin/apache
www-data 27477 1.1 4.0 49104 30896 ? S 00:00 4:25 /usr/sbin/apache
www-data 27489 1.1 4.3 51564 33508 ? S 00:01 4:47 /usr/sbin/apache
www-data 27559 1.1 4.1 50128 31860 ? S 00:05 4:39 /usr/sbin/apache
www-data 27610 1.1 4.1 50372 31992 ? S 00:12 4:32 /usr/sbin/apache


the 35044 number is the real ram usage for each process, so 35MB for that one, then 30MB, and so on.

eaccellerator is currently installed and running on your server"
Back to top
View user's profile Send private message

Author Message
Atanasis
Owner


Joined: 22 May 2004
Posts: 4284
Location: The Net

PostPosted: Thu Apr 08, 2010 2:54 pm    Post subject: Reply with quote
i see, actually just look at all my servers and it seems my apache is eating somewhere around that as well.. on some more or less, probably because of the enabled php mods.. but my servers are with atleast 1GB ram, but and mysql and other demons are eating from it.. so it would be somewere around your values for the apache..

As i said and i sometimes, but pretty rarely get servers overloaded due to apache, it is a common thing. Thats not because of BO but exactly on the apache and ram. When for example sometimes some hitbots in peak hours hit my server apache gets overloaded and only way to fix things is to reboot it, coz as your support explained its almost impossible to get in such overloaded state.

Last time this happened was before several weeks, when my server was crashing every few minutes when i noticed some new "spbot" is massively hitting every single site on my server. After few days and lots more people started screaming on boards about the same bot..

Excluding BO from the current situation, if 20 people at once visit any of your sites on the server it will go down again. That happens quite rare, because requests are being processed for miliseconds and all is fine. So, you shouldn't worry.

Anyways, for using httpd+mysql + probably some more daemons that are using from your ram constantly 512MB ram is really low amount today. I personally wouldn't get less than 1GB ram on a dedicated server where i would run apache+mysql, no matter what scripts i intend to use..

Also you could try using and the:
RLimitMEM
RLimitCPU
apache variables to limit the max cpu and ram that apache could use. thats helps a bit in such extreme situations
_________________
Thanks,
Kaktusan

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number

Display posts from previous:   
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Blogs Organizer All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group