Size of /var/log/eos/mgm/xrdlog.mgm reached >1TB

Hi,

The size /var/log/eos/mgm/xrdlog.mgm reached >1TB. It was flooded with messages of this kind

250327 06:17:02 555647 http_Protocol: getDataOneShot BuffAvailable: 1048576 maxread: 1963
250327 06:17:02 555647 http_Protocol: getDataOneShot sslavail: 1963
250327 06:17:02 555647 http_Protocol: BuffgetData: requested 1963 bytes
250327 06:17:02 555647 http_Protocol: BuffgetData: need to read 1963 bytes
250327 06:17:02 555647 http_Protocol: getDataOneShot BuffAvailable: 1048576 maxread: 1963
250327 06:17:02 555647 http_Protocol: getDataOneShot sslavail: 1963
250327 06:17:02 555647 http_Protocol: BuffgetData: requested 1963 bytes
250327 06:17:02 555647 http_Protocol: BuffgetData: need to read 1963 bytes

Do you know by any chance why?

I have restarted eos@mgm and eos@mq and the mssages appear to have gone but it would be good to know why this happened.

Thanks,

George

Hi George,

These are logs comming from the HTTP access. You can reduce the log verbosity by using the following configuration in the /etc/xrd.cf.mgm file:

http.trace  all -debug

Cheers,
Elvin

Hi Elvin,

What other settings are there for the HTTP verbosity?
I mean - other than ‘-debug’?

Also, this ‘-debug’ level sounds to me as something that will actually generate more output, not less. Am I correct?

Cheers,

  • Stefan

Hi Stefan,

The documentation comes from the XRootD project:
https://xrootd.web.cern.ch/doc/dev56/xrd_config.htm#_Toc152596910

The -debug means all things related to http without debug messages. It depends on the level of details you want to get from the HTTP traffic in your logs. This is what we use at the moment.

Cheers,
Elvin