On Mon, Jun 29, 2009 at 2:54 AM, Matthew Flanagan<[email protected]> wrote:
[snip]
> 6. What is it reading & writing? This first column is the file descriptor
> number, the second the number of times it was seen:
>
> # dtrace -n 'syscall::read:entry /pid == 2153/ { @[arg0] = count(); }'
> dtrace: description 'syscall::read:entry ' matched 1 probe
> ^C
>
> 47 1
> 49 12
> 83 12
> 73 17
> 51 18
> 50 21
> 53 24
> 56 24
> 57 282
> 58 381
> 55 401
> 78 5742
> 70 5777
> 77 12835
>
[snip]
>
> # pfiles 2153
> 2153: /opt/CPmds-R65/customers/XXX/CPsuite-R65/fw1/bin/fwd -n
> Current rlimit: 65536 file descriptors
[snip]
> 77: S_IFREG mode:0644 dev:256,65541 ino:125222 uid:0 gid:0 size:2145391731
> O_RDONLY
>
> /var/opt/CPmds-R65/customers/XXX/CPsuite-R65/fw1/log/2009-06-08_215011_153.log
I suspect that every time one of the clients asks for some data from
the log it is re-reading the whole thing. Can you rotate the log more
frequently? It is currently about 2 MB short of 2 GB in size.
--
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
perf-discuss mailing list
[email protected]