Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2011-05-09 14:58:31

marshalbros
Member
Registered: 2011-05-05
Posts: 42

Apache using 100% CPU

Anyone else running into this.  Since I installed this script, I am getting TCP connections initiated by Apache hanging as close_wait and sucking up 100% CPU.  Often, googlebot is the source of the connection that doesnt close.  Connections will remain close_wait for hours or until I kill them.

Offline

#2 2011-05-09 15:13:40

Pikeypete
Member
From: USA
Registered: 2011-04-21
Posts: 115
Website

Re: Apache using 100% CPU

Never encountered that. My load runs at an average of 0.5 - 1.5%, barely idles.
2mg32nr.jpg

Last edited by Pikeypete (2011-05-09 15:17:05)

Offline

#3 2011-05-09 15:32:07

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Apache using 100% CPU

Same here. I never saw this problem before and nobody else reported this bug. The connections are closed once the script finished the execution.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#4 2011-05-09 16:22:38

marshalbros
Member
Registered: 2011-05-05
Posts: 42

Re: Apache using 100% CPU

Am I reading this wrong...

v2ryuh.jpg

about 10 min apart

358osqv.jpg

I've tried adjusting keep_alive, timeout, and net.ipv4.tcp_keepalive_time

Offline

#5 2011-05-09 17:12:59

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Apache using 100% CPU

Hmm...your not reading this wrong at all, but i cannot explain why this is happening. Do you have a lot of visitors? Is this happening when you use a specific tool? (maybe the CSV importer crashes and it keeps downloading, updating the database).


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#6 2011-05-10 02:50:47

marshalbros
Member
Registered: 2011-05-05
Posts: 42

Re: Apache using 100% CPU

Cant figure this out yet.  I'm not really sure its related to this script either.  But I'm still having the issue with connections staying open for hours and hogging CPU.  I have my host working on the issue.

Offline

#7 2011-05-10 07:51:56

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Apache using 100% CPU

It is possible that a CSV importer, mass embedder or anything that runs in the background crashed and the process is sleeping now, but still eating CPU. I'm not sure if this is the case either. I've seen this happen on a shared server, but once the process finished everything was ok.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#8 2011-05-10 17:40:36

marshalbros
Member
Registered: 2011-05-05
Posts: 42

Re: Apache using 100% CPU

I found the problem.  It was a looping script. NOT ADULT SCRIPT PRO.  It was a bad Wordpress theme.

Offline

#9 2011-05-10 17:55:48

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Apache using 100% CPU

Ok. Good to know. I'm working on the RSS and CSV thing now. Hope to get it fixed today.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB