Hi people,
Today again i've got a message "File busy try again later!" in my kmail when
i tried log in pop3 server. Well my boss received too this message, and i
tried up the value from /proc/sys/fs/file-max to 10240, and the file-nr is
8192 6285 10240
Verifing the problem, i lookup in the file file_lock.c in the vpopmail source
end has this code:
int get_read_lock(FILE *fs)
{
int try = 0;
while(read_lock(fileno(fs), 0, SEEK_SET, 0) < 0)
{
if (errno == EAGAIN || errno == EACCES || errno ==ENOLCK )
{
/* there might be other errors cases in which
* you might try again.
*/
if (++try < MAX_TRY_RLOCK) {
(void) sleep(2);
continue;
}
(void) fprintf(stderr,"File busy try again later!\n");
return(-1);
}
return(-2);
}
return(0);
}
I see part of code above and this error is caused by what exactly?
I see the file vpopmail.c and it have a function called POP_AUTH_OPEN_RELAY,
it call a file_lock if the cdb generation give a error.
I don't no why this error appears to me, somebody knows?
Regards
Marcos Dutra