[AOLSERVER] 2Gb log file problem

16 views
Skip to first unread message

Alexey Pechnikov

unread,
May 16, 2011, 4:09:26 PM5/16/11
to AOLS...@listserv.aol.com
With 2Gb size of log file all scripts don't work and the log file
don't growing. Only static files are serves

--
Best regards, Alexey Pechnikov.
http://pechnikov.tel/


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <list...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.

Jeff Rogers

unread,
May 16, 2011, 4:39:51 PM5/16/11
to AOLS...@listserv.aol.com
The log module supports rolling. Normally it is done daily, but if your
logs are growing too quickly and hitting 2G within a day you could set
up a cronjob to send the server a signal to roll the logs, or a
scheduled task within the server to roll the logs every hour, or when
they reach a certain size. The command to roll the logs is
[ns_accesslog roll]

-J

Alexey Pechnikov wrote:
> With 2Gb size of log file all scripts don't work and the log file
> don't growing. Only static files are serves
>


--

Alexey Pechnikov

unread,
May 16, 2011, 7:12:09 PM5/16/11
to AOLS...@listserv.aol.com
2011/5/17 Jeff Rogers <dv...@diphi.com>:
>

Undocumented behaviour is bug, isn't it?

--
Best regards, Alexey Pechnikov.
http://pechnikov.tel/

Jeff Rogers

unread,
May 16, 2011, 7:35:10 PM5/16/11
to AOLS...@listserv.aol.com
Alexey Pechnikov wrote:
> 2011/5/17 Jeff Rogers<dv...@diphi.com>:
>>
>
> Undocumented behaviour is bug, isn't it?
>

I didn't suggest that it wasn't, I only offered a possible workaround
for you to solve the immediate problem facing you.

There is a bugtracker for aolserver at sf where you can file bugs,
although there's no guarantee ho quickly any of them will get looked at
or resolved.

http://sourceforge.net/tracker/?func=browse&group_id=3152&atid=103152

-J

Alexey Pechnikov

unread,
May 17, 2011, 4:52:50 AM5/17/11
to AOLS...@listserv.aol.com
2011/5/17 Jeff Rogers <dv...@diphi.com>:

> Alexey Pechnikov wrote:
>>
>> 2011/5/17 Jeff Rogers<dv...@diphi.com>:
>>>
>>
>> Undocumented behaviour is bug, isn't it?
>>
>
> I didn't suggest that it wasn't, I only offered a possible workaround for
> you to solve the immediate problem facing you.

Thx, I use daemontools for starting AOL Server
/usr/sbin/aolserver4-nsd -f ...
and stdout may be logged by multilog (as example).

--
Best regards, Alexey Pechnikov.
http://pechnikov.tel/

Jeff Rogers

unread,
May 17, 2011, 1:15:20 PM5/17/11
to AOLS...@listserv.aol.com
Alexey Pechnikov wrote:
> Thx, I use daemontools for starting AOL Server
> /usr/sbin/aolserver4-nsd -f ...
> and stdout may be logged by multilog (as example).

Oh, the server log has the same issue. That one doesn't have automatic
timed rolling, but it will still roll on a signal or an appropriate
command, in this case "ns_logroll" which could be set up as a scheduled
proc.

-J

Reply all
Reply to author
Forward
0 new messages