imfile large file support

General discussions here

Moderator: rgerhards

imfile large file support

Postby chatty on Thu Jul 24, 2008 1:39 am

I've been playing with the imfile plugin and one of our logs (rotated daily) exceeds 2G within a couple of hours of rotation.
If I restart rsyslog once the file is over 2G logging on the file stops.
I then ran rsyslog with -d and found this error:

6143.135744971:imuxsock.c: --------imuxsock calling select, active file descriptors (max 14): 14 6143.135772746:imfile.c:
strm 0x9049140: open error 27, file '/var/log/myapp.log'

The log is then ignored until it is rotated.
I can work around this by rotating the log prior to restarting so this is not a show stopper for me but it would be nice if imfile worked on large files by default :wink:
chatty
New
 
Posts: 2
Joined: Thu Jul 24, 2008 1:22 am

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

Re: imfile large file support

Postby rgerhards on Thu Jul 24, 2008 12:34 pm

I thought this was explicitly handled. Looks like a bug. I assume you use a 32 bit platform?
User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

Re: imfile large file support

Postby chatty on Thu Jul 24, 2008 8:00 pm

correct, 32 bit.
chatty
New
 
Posts: 2
Joined: Thu Jul 24, 2008 1:22 am

Google Ads



Return to General

Who is online

Users browsing this forum: No registered users and 0 guests

cron