On Sat, 12 Nov 2005, Brian "Duck" Holmes wrote:

>
> > We had a similar problem with random choke and lag spikes.  Turned out
> > to be due to having a large number of files in
> > path.to.srcds/cstrike/downloads (mostly custom sprays) the servers was
> > essentially hiccupping when parsing this directory prior to saving a
> new
> > spray.
> >
> > I now have a script that deletes the contents of this directory every
> > night and restarts the server.
> >
> > May not be your problem but worth checking on.
>
> >>Would you mind providing us an insight into that script? And don't one
> >>provoke more traffic by deleting those files on a daily basis, because
> >>every player uploads his spray every day again?
>
> >>Regards
>
> >>Christoph
>
> Here's the part of the script that deletes the files:
> #!/bin/sh
> #
> #
> echo css1=
> ls -1 /gaming/css1/cstrike/downloads |wc -l
> rm -rf /gaming/css1/cstrike/downloads/*
>
> The first line counts the number of files before deleting them mostly
> for my own information.  The script is run as a cron job so it reports
> the output in an email to me.
>
> I have 8 server instances running so it repeats for the others.  Then it
> calls my restart script to restart the associated server.
>
> Yes it probably does require more bandwidth per day than it used to but
> the increase hasn't been significant enough to show up as an increase in
> my bandwidth utilization reports.  On the other hand the lag spikes we
> were seeing have disappeared completely after initially deleting the
> over 1 million files that had built up in the year before I discovered
> the problem.

sv_allowupload 0

spray logos is a pain. this way admins dont have to worry about
nazisymbols or porn images. Never had any complains about it being
disabled.

/Bjorn

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to