Hello guys
Im just getting daily 3000UV to my site for 2 days and today server overload 150% and finally down lol....
Im getting this message as well
-----------------------------------------------------------------------------
spamd failed @ Fri Jan 8 18:57:17 2010. A restart was attempted automagically.
Service Check Method: [check command]
Cmd Service Check Raw Output: Spamd is not running
-----------------------------------------------------------------------------
3k uv is just small traffic...
what should I do?
XFileSharing Pro - server overload 150%
Re: server overload 150%
I would suggest a second server to share the loadgeekev69 wrote:Hello guys
Im just getting daily 3000UV to my site for 2 days and today server overload 150% and finally down lol....
Im getting this message as well
-----------------------------------------------------------------------------
spamd failed @ Fri Jan 8 18:57:17 2010. A restart was attempted automagically.
Service Check Method: [check command]
Cmd Service Check Raw Output: Spamd is not running
-----------------------------------------------------------------------------
3k uv is just small traffic...
what should I do?
Its what I did
Hey naga, do you know how to install lighttpd and nginx?naga wrote:-> what kind of server do you have?
-> spamd is used for mailservers, I don't think it has anything to do with xfilesharing
-> You probably use apache for serving files, consider using lighttpd or nginx
-> go in a ssh terminal and type 'top' . it will show you what processes are using the resources
I need help. I will pay for it.
please talk to me when you check this.
msn : [email protected]
ym : ssdynamite
Completely agree with naganaga wrote:-> what kind of server do you have?
-> spamd is used for mailservers, I don't think it has anything to do with xfilesharing
-> You probably use apache for serving files, consider using lighttpd or nginx
-> go in a ssh terminal and type 'top' . it will show you what processes are using the resources
There's nothing to be done with script if spamd is causing load (need to take a look at "top" output).
Also, geekev69 used non-direct download links (via dl.cgi) for downloads - that's not the best way. We always suggest to use direct links in order to avoid such problems.
-
- Posts: 90
- Joined: Nov 18, 2009 9:15 pm
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
-
- Posts: 90
- Joined: Nov 18, 2009 9:15 pm
Its true my load went from 10.00+ to now sitting at 0.40 using top on apache 2.2. But how do we then limit anon users and reg users speed so Premium users get the faster speeds? Also using direct links has given me no premium account sales.....since I turned it all for all users.PilgrimX182 wrote:Sending through dl.cgi with limited speed takes lotta CPU. Use direct links instead, they gives lowest load under apache.
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
It's up to your marketing team to decide how to monetize your site.
But check for different download/upload limits for different user types.
To give premium best speeds it's good idea to buy extra server and start Premium-only FS there. So free users will suck only from free overloaded server, but who cares, premiums won't be affected.
But check for different download/upload limits for different user types.
To give premium best speeds it's good idea to buy extra server and start Premium-only FS there. So free users will suck only from free overloaded server, but who cares, premiums won't be affected.
-
- Posts: 90
- Joined: Nov 18, 2009 9:15 pm
Thanks for the tip, concidering my sites running at a loss each month still the option to buy a server for premium only users is a distant future one I guess. But i'll keep it in mind.PilgrimX182 wrote:It's up to your marketing team to decide how to monetize your site.
But check for different download/upload limits for different user types.
To give premium best speeds it's good idea to buy extra server and start Premium-only FS there. So free users will suck only from free overloaded server, but who cares, premiums won't be affected.
Doesnt work reallyPilgrimX182 wrote: To give premium best speeds it's good idea to buy extra server and start Premium-only FS there. So free users will suck only from free overloaded server, but who cares, premiums won't be affected.
Only if a Free user downloads a free user file and premium users download premium files
if a Premium user download a free user file he will still get the crap download speeds due to the overloaded server
and a free user downloading a premium file will get sensational speeds due to the free resourced server
But at least its something!
Hi I think you're better off getting the nginx package from the support, since with lighttpd or nginx you still need apache to handle the file uploads and cgi workgeekev69 wrote: Hey naga, do you know how to install lighttpd and nginx?
I need help. I will pay for it.
please talk to me when you check this.
I made a modification for my own site that handles all this but it's kinda sloppy.
for those interested;
-> cgi stuff goes via apache2
-> normal downloads are via lighttpd with 2 conns per ip per server on port 81
-> premium downloads are via apache2 with no limits on port 80. This is done by using the $premium in the link generation, using a htdocs & htdocs_premium line.
The advantages of this are that premium users get a better speed already via apache2, if lighttpd gets overloaded(which it hardly ever gets) premium users can still download. file uploads and link generation continue to work on a overload