* cvs bytestats @ 2003-01-11 22:02 Christopher Faylor 2003-01-11 23:01 ` Ian Lance Taylor 2003-01-11 23:53 ` Jason Molenda 0 siblings, 2 replies; 7+ messages in thread From: Christopher Faylor @ 2003-01-11 22:02 UTC (permalink / raw) To: overseers Do we *really* need to track all of the I/O activity for CVS? /var/log/syslog has thousands of messages like this: sourceware cvs: error setting KEEPALIVE: Socket operation on non-socket which is due to the fact that anoncvs is being run in a pipe so that we can track the amount of I/O performed by cvs. I turned this off once before but I think Ian and Jason thought the data was useful. Is this the kind of data that is useful when there is a problem? Because I doubt that anyone is looking at this now. I noticed this while setting up cvs on the new system so I thought I'd revisit the decision. cgf ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cvs bytestats 2003-01-11 22:02 cvs bytestats Christopher Faylor @ 2003-01-11 23:01 ` Ian Lance Taylor 2003-01-11 23:53 ` Jason Molenda 1 sibling, 0 replies; 7+ messages in thread From: Ian Lance Taylor @ 2003-01-11 23:01 UTC (permalink / raw) To: Christopher Faylor; +Cc: overseers Christopher Faylor <cgf@redhat.com> writes: > Do we *really* need to track all of the I/O activity for CVS? > /var/log/syslog has thousands of messages like this: > > sourceware cvs: error setting KEEPALIVE: Socket operation on non-socket > > which is due to the fact that anoncvs is being run in a pipe so that we > can track the amount of I/O performed by cvs. > > I turned this off once before but I think Ian and Jason thought the data > was useful. Is this the kind of data that is useful when there is a > problem? Because I doubt that anyone is looking at this now. > > I noticed this while setting up cvs on the new system so I thought I'd > revisit the decision. I think the CVS byte data is useful. I don't think it is useful to have a syslog message from CVS--I didn't even realize that CVS would use syslog for something like that. There is probably some syslog.conf adjustment you can make to stop those messages, or just change CVS. But if you want to get rid of the CVS byte data, I won't fight to keep it. Ian ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cvs bytestats 2003-01-11 22:02 cvs bytestats Christopher Faylor 2003-01-11 23:01 ` Ian Lance Taylor @ 2003-01-11 23:53 ` Jason Molenda 2003-01-12 2:05 ` Christopher Faylor 1 sibling, 1 reply; 7+ messages in thread From: Jason Molenda @ 2003-01-11 23:53 UTC (permalink / raw) To: overseers On Sat, Jan 11, 2003 at 05:02:29PM -0500, Christopher Faylor wrote: > > I turned this off once before but I think Ian and Jason thought the data > was useful. Is this the kind of data that is useful when there is a > problem? Because I doubt that anyone is looking at this now. > I think it's useful for establishing trends and baselines. When the system starts to melt down - bandwidth is congested, disks fill up, processor maxes out - it's easy to look over the trends and see what is "normal" and how "normal" has changed over time. When you're looking for an acute problem, an anoncvs abuser, it's nice to have it running, but that's not an argument for necessarily leaving it running continuously. Those are the reasons I like having it, but I won't argue strenuously against disabling it if it causes some problem. I'd be willing to disable the message logging in cvs, as per Ian's suggestion, and install an updated binary. Jason ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cvs bytestats 2003-01-11 23:53 ` Jason Molenda @ 2003-01-12 2:05 ` Christopher Faylor 2003-01-12 17:30 ` Ian Lance Taylor 2003-01-16 18:06 ` David Edelsohn 0 siblings, 2 replies; 7+ messages in thread From: Christopher Faylor @ 2003-01-12 2:05 UTC (permalink / raw) To: Jason Molenda; +Cc: overseers On Sat, Jan 11, 2003 at 03:52:50PM -0800, Jason Molenda wrote: >On Sat, Jan 11, 2003 at 05:02:29PM -0500, Christopher Faylor wrote: > >> >> I turned this off once before but I think Ian and Jason thought the data >> was useful. Is this the kind of data that is useful when there is a >> problem? Because I doubt that anyone is looking at this now. >> > >I think it's useful for establishing trends and baselines. When >the system starts to melt down - bandwidth is congested, disks fill >up, processor maxes out - it's easy to look over the trends and >see what is "normal" and how "normal" has changed over time. > >When you're looking for an acute problem, an anoncvs abuser, it's >nice to have it running, but that's not an argument for necessarily >leaving it running continuously. > >Those are the reasons I like having it, but I won't argue strenuously >against disabling it if it causes some problem. I'd be willing to >disable the message logging in cvs, as per Ian's suggestion, and >install an updated binary. It's trivial to disable the message but I wonder if using bytestats in this way is also causing other problems. We have a lot of hung cvs connections and I was wondering if this is a symptom of that. I can't see why it would be since bytestats also sets SO_KEEPALIVE unless bytestats isn't noticing the connection going away. Ian, how would I go about regenerating bytestats? Anyway, I regenerated cvs and got rid of the syslog message. cgf ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cvs bytestats 2003-01-12 2:05 ` Christopher Faylor @ 2003-01-12 17:30 ` Ian Lance Taylor 2003-01-12 17:32 ` Christopher Faylor 2003-01-16 18:06 ` David Edelsohn 1 sibling, 1 reply; 7+ messages in thread From: Ian Lance Taylor @ 2003-01-12 17:30 UTC (permalink / raw) To: Christopher Faylor; +Cc: Jason Molenda, overseers Christopher Faylor <cgf@redhat.com> writes: > It's trivial to disable the message but I wonder if using bytestats > in this way is also causing other problems. We have a lot of hung > cvs connections and I was wondering if this is a symptom of that. > I can't see why it would be since bytestats also sets SO_KEEPALIVE > unless bytestats isn't noticing the connection going away. Ian, > how would I go about regenerating bytestats? As you probably know, the source is in /sourceware/cvspserver/bytestats.c. The header files and libraries which it uses are in /usr/local/src/qmail-support/ucspi-tcp-0.88. I guess I should have written a Makefile entry to build it. I can do that if you like. Ian ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cvs bytestats 2003-01-12 17:30 ` Ian Lance Taylor @ 2003-01-12 17:32 ` Christopher Faylor 0 siblings, 0 replies; 7+ messages in thread From: Christopher Faylor @ 2003-01-12 17:32 UTC (permalink / raw) To: jason-swarelist, overseers On Sun, Jan 12, 2003 at 09:30:57AM -0800, Ian Lance Taylor wrote: >Christopher Faylor <cgf@redhat.com> writes: > >> It's trivial to disable the message but I wonder if using bytestats >> in this way is also causing other problems. We have a lot of hung >> cvs connections and I was wondering if this is a symptom of that. >> I can't see why it would be since bytestats also sets SO_KEEPALIVE >> unless bytestats isn't noticing the connection going away. Ian, >> how would I go about regenerating bytestats? > >As you probably know, the source is in >/sourceware/cvspserver/bytestats.c. The header files and libraries >which it uses are in /usr/local/src/qmail-support/ucspi-tcp-0.88. > >I guess I should have written a Makefile entry to build it. I can do >that if you like. No need. I don't think we'll be rebuilding bytestats too often. I just wanted to add some debugging statements to it. cgf ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: cvs bytestats 2003-01-12 2:05 ` Christopher Faylor 2003-01-12 17:30 ` Ian Lance Taylor @ 2003-01-16 18:06 ` David Edelsohn 1 sibling, 0 replies; 7+ messages in thread From: David Edelsohn @ 2003-01-16 18:06 UTC (permalink / raw) To: Christopher Faylor; +Cc: overseers >>>>> Christopher Faylor writes: Chris> Anyway, I regenerated cvs and got rid of the syslog message. Did you make any other changes when you regenerated cvs? Was the cvs stat optimization removed or corrupted? "cvs update" of the gcc sources has gotten *much* slower for me in the past week -- around the time of the bytestat change and the archive regeneration. David ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-01-16 18:06 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-01-11 22:02 cvs bytestats Christopher Faylor 2003-01-11 23:01 ` Ian Lance Taylor 2003-01-11 23:53 ` Jason Molenda 2003-01-12 2:05 ` Christopher Faylor 2003-01-12 17:30 ` Ian Lance Taylor 2003-01-12 17:32 ` Christopher Faylor 2003-01-16 18:06 ` David Edelsohn
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).