I have smrazor filter which communicates with sendmail by tcp socket.
Filter and sendmail are in two different servers.
I received many messages (about 100 messages a minute) in smrazor.err like 
these:

[01/03/2007 11:34:43] (9345) Error reading from razor-check (0x9be61d8) (9737): 
timeout

I think razor-check goes to timeout so I set it to 300 seconds in smrazor.c
#define RAZOR_CHECK_TIMEOUT 300 


                result = select(read_fd + 1, &read_fds, NULL, NULL,
                                &select_timeout);
                DPRINTF(("Select done (%p): %d %d\n", ctx, result, errno));
                if (result == 1)
                {
                        while ((result = fread(buf, 1, BUF_LEN,
                                               priv->read_pipe)) > 0)
                        {
                                buf[result] = 0;
                                fprintf(error_file, buf);
                        }
                }
                else
                {
                        kill(priv->razor_pid, SIGKILL);
                        dprintf("Error reading from razor-check (%p) (%d): 
timeout\n", ctx, priv->razor_pid);
                }
I analyzed processes (went timeout) in razor-agent.conf and they have this 3 
lines:

Jan 03 10:31:17.318656 check[3514]: [ 2] [bootup] Logging initiated 
LogDebugLevel=20 to file:/var/log/razor-agent.log
Jan 03 10:31:17.319123 check[3514]: [ 5] computed razorhome=/etc/razor, 
conf=/etc/razor/razor-agent.conf, ident=/etc/razor/[EMAIL PROTECTED]
it
Jan 03 10:31:17.319215 check[3514]: [ 2]  Razor-Agents v2.81 starting 
razor-check -
conf=/etc/razor/razor-agent.conf

What happened ? How can I solve problem ?


Naviga e telefona senza limiti con Tiscali     
Scopri le promozioni Tiscali adsl: navighi e telefoni senza canone Telecom

http://abbonati.tiscali.it/adsl/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Razor-users mailing list
Razor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to