[torqueusers] Question to Server_logs

Glen Beane glen.beane at gmail.com
Thu Sep 27 09:03:34 MDT 2007


Berit,

check the log_file_max_size and log_file_roll_depth qmgr server attributes.

if you sent log_file_max_size (I think this is in KB), that log will
get renamed to log_name.1 and then a new empty log will be opened.

if you send log_file_roll_depth you can keep multiple copies of the
"rolled log" aound. (log_name.N is deleted, log_name.N-1 is rolled to
log_name.N ... log_name is rolled to log_name.1)


if you only want to use a max of 1MB for your log, startup pbs_server
and specify a log file name so it will not open a new log every day,
set log_file_max_size to 500 and leave log_file_roll_depth unset or
set it to 1.

On 9/27/07, Berit Hinnemann <behi at topsoe.dk> wrote:
>
>
> Dear all,
>
>  I am using torque 2.1.6 and maui 3.2.6p16 on a RHEL 4 Opteron cluster.
>
>  I have a question regarding /var/spool/torque/server_logs. Each log file is
> about 8MB and it slowly but surely fills up the /var partition. Is there a
> way to tell torque to only keep log files from after a certain date? Of
> course, one can make a cron job deleting them, but I'd like to know whether
> one can set this from within torque.
>
>  Also, when I look into the files, I see a lot of bad attempts to connect,
> as shown below. However, torque and maui seem to work fine and jobs get
> scheduled and completed as I would expect. What causes these messages then?
>
>  Thanks a lot in advance for any pointers.
>  Best regards, Berit
>
>
>  -----------example from /var/spool/torque/server_logs
>  05/27/2007 00:00:00;0002;PBS_Server;Svr;Log;Log opened
>  05/27/2007
> 00:00:00;0001;PBS_Server;Svr;PBS_Server;is_request, bad
> attempt to connect from 172.17.34.10:1023 (address not trusted)
>  05/27/2007
> 00:00:02;0001;PBS_Server;Svr;PBS_Server;is_request, bad
> attempt to connect from 172.17.34.10:1023 (address not trusted)
>  05/27/2007
> 00:00:04;0001;PBS_Server;Svr;PBS_Server;is_request, bad
> attempt to connect from 172.17.34.10:1023 (address not trusted)
>  05/27/2007
> 00:00:06;0001;PBS_Server;Svr;PBS_Server;is_request, bad
> attempt to connect from 172.17.34.10:1023 (address not trusted)
>  05/27/2007
> 00:00:08;0001;PBS_Server;Svr;PBS_Server;is_request, bad
> attempt to connect from 172.17.34.10:1023 (address not trusted)
>  05/27/2007
> 00:00:10;0001;PBS_Server;Svr;PBS_Server;is_request, bad
> attempt to connect from 172.17.34.10:1023 (address not trusted)
>  05/27/2007
> 00:00:12;0001;PBS_Server;Svr;PBS_Server;is_request, bad
> attempt to connect from 172.17.34.10:1023 (address not trusted)
>  05/27/2007
> 00:00:14;0001;PBS_Server;Svr;PBS_Server;is_request, bad
> attempt to connect from 172.17.34.10:1023 (address not trusted)
>  05/27/2007
> 00:00:16;0001;PBS_Server;Svr;PBS_Server;is_request, bad
> attempt to connect from 172.17.34.10:1023 (address not trusted)
>  05/27/2007
> 00:00:18;0001;PBS_Server;Svr;PBS_Server;is_request, bad
> attempt to connect from 172.17.34.10:1023 (address not trusted)
>  05/27/2007 00:00:19;0100;PBS_Server;Req;;Type StatusNode
> request received from root at HTDFTMASTER, sock=10
>  05/27/2007 00:00:19;0100;PBS_Server;Req;;Type StatusQueue
> request received from root at HTDFTMASTER, sock=10
>  05/27/2007 00:00:19;0100;PBS_Server;Req;;Type StatusJob
> request received from root at HTDFTMASTER, sock=10
>  05/27/2007
> 00:00:20;0001;PBS_Server;Svr;PBS_Server;is_request, bad
> attempt to connect from 172.17.34.10:1023 (address not trusted)
>  05/27/2007
> 00:00:22;0001;PBS_Server;Svr;PBS_Server;is_request, bad
> attempt to connect from 172.17.34.10:1023 (address not trusted)
>  05/27/2007
> 00:00:24;0001;PBS_Server;Svr;PBS_Server;is_request, bad
> attempt to connect from 172.17.34.10:1023 (address not trusted)
>
>  ________________________________
> Berit Hinnemann
>  Research Scientist | Characterization Department | Research & Development
>
> Haldor Topsøe A/S
>  Nymøllevej 55
>  DK-2800 Kgs. Lyngby
>  Phone: +45 4527 2130 (direct)
>
> Haldor Topsøe is market leading within heterogeneous catalysis and supplies
> catalysts and process design for oil refineries, chemical plants and the
> energy sector. The environment plays an important role in Topsøe's research
> and production, and through the introduction of new catalysts and
> technologies the company supports a more sustainable use of the world's
> resources. Annual revenues total DKK 3.5 billion generated by our 1,700
> dedicated employees. For additional information please see our web site
> www.topsoe.com
>
>
>
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>
>


More information about the torqueusers mailing list