XFileSharing Pro - Most of the time the memory used 98% and more

Message
Author
okpa
Posts: 120
Joined: Apr 08, 2011 12:37 pm

Most of the time the memory used 98% and more

#1 Postby okpa » Aug 22, 2011 11:31 pm

my server has a significant amount of CGI Scripts "dl.cgi" and "upload.cgi", These appear to be using an enormous amount of memory. Although i have few users then how can i optimizing my scripts?

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm

#2 Postby chrda » Aug 23, 2011 2:23 am

If you start using the nginx mod. the dl.cgi wont be used anymore saving you alot of resources.

So thats a good start, else you need to go over your server setup.

admin
Site Admin
Posts: 1805
Joined: Mar 22, 2006 12:32 pm

#3 Postby admin » Aug 23, 2011 2:41 am

Do not use dl.cgi. Use direct links instead.

admin
Site Admin
Posts: 1805
Joined: Mar 22, 2006 12:32 pm

#4 Postby admin » Aug 23, 2011 2:41 am

Do not use dl.cgi. Use direct links instead. No need in nginx mod if you have just few users.

okpa
Posts: 120
Joined: Apr 08, 2011 12:37 pm

#5 Postby okpa » Aug 23, 2011 9:56 am

thanks
but how can i use Use direct links?
you means use Generate direct links!

admin
Site Admin
Posts: 1805
Joined: Mar 22, 2006 12:32 pm

#6 Postby admin » Aug 23, 2011 11:16 am

In "User Limits" settings do not uncheck "Generate Direct Links" checkboxes.

okpa
Posts: 120
Joined: Apr 08, 2011 12:37 pm

#7 Postby okpa » Aug 24, 2011 12:34 am

still have memory load after changed to direct links
also show me index_dl.cgi,index.cgi

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#8 Postby ankurs » Aug 24, 2011 5:24 am


okpa
Posts: 120
Joined: Apr 08, 2011 12:37 pm

#9 Postby okpa » Aug 24, 2011 12:09 pm

problem from cgi Scripts not ram problem if i stop the site ram be fine

Image

admin
Site Admin
Posts: 1805
Joined: Mar 22, 2006 12:32 pm

#10 Postby admin » Aug 24, 2011 12:12 pm

That's not correct to check that in Cpanel.
Open ssh console and provide output of "top" command, including header.

okpa
Posts: 120
Joined: Apr 08, 2011 12:37 pm

#11 Postby okpa » Aug 24, 2011 12:19 pm

top order

Image


free -m order


total used free shared buffers cached
Mem: 7972 7906 66 0 33 7287
-/+ buffers/cache: 585 7386
Swap: 9983 0 9983

admin
Site Admin
Posts: 1805
Joined: Mar 22, 2006 12:32 pm

#12 Postby admin » Aug 24, 2011 12:21 pm

Server load is 0.19 which is fine.
As for memory - sorty by memory usage (Shift+M) and show it again.

okpa
Posts: 120
Joined: Apr 08, 2011 12:37 pm

#13 Postby okpa » Aug 24, 2011 12:33 pm

after shift+m

Image

admin
Site Admin
Posts: 1805
Joined: Mar 22, 2006 12:32 pm

#14 Postby admin » Aug 24, 2011 12:48 pm

I hope no more questions to script after this screen.

okpa
Posts: 120
Joined: Apr 08, 2011 12:37 pm

#15 Postby okpa » Aug 24, 2011 1:01 pm

ok thanks admin


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests