Removing data segment size limit

2002-03-15 Thread Francis Vidal
Hi, I'm running a very busy Squid proxy/cache system and I've bumped up the data segment size to 768MB but the cache is growing and I'm afraid it (Squid process) might stop again once the limit is reached. Is there a way to remove the kernel-imposed data segment size limit? Are there Squid

Re: Removing data segment size limit

2002-03-15 Thread Sergey A. Osokin
On Fri, Mar 15, 2002 at 06:49:28PM +0800, Francis Vidal wrote: Hi, I'm running a very busy Squid proxy/cache system and I've bumped up the data segment size to 768MB but the cache is growing and I'm afraid it (Squid process) might stop again once the limit is reached. Is there a way to

RE: gcc -O broken in CURRENT

2002-03-15 Thread Jan Stocker
2) Bug is in os delivered gcc but not in port gcc. a) port has more or less patches / os gcc has been modified -- Didn't someone told they are the same? b) other options were set at compile time -- Why dont change to the same in the port? Leads it to a

Re: Interesting sysctl variables in Mac OS X with hw info

2002-03-15 Thread Josh Paetzel
On Wed, Mar 13, 2002 at 08:46:46PM -0800, Terry Lambert wrote: Matthew Emmerton wrote: This was actually discussed a while back (a month or two ago). It got really bogged down when someone pointed out that they were running CPUs with different clock rates in their SMP

Re: gcc -O broken in CURRENT

2002-03-15 Thread Terry Lambert
Jan Stocker wrote: [ ... DWARF vs. setjmp/longjmp ... ] A little bit... most of you argumenting about binary incompatibility for -stable. OK... no chance to do it there, its my opinion too. But why not doing it for current and using that most common dwarf unwinding now (for a later ia64

Re: gcc -O broken in CURRENT

2002-03-15 Thread David O'Brien
On Fri, Mar 15, 2002 at 01:37:39PM +0100, Jan Stocker wrote: A little bit... most of you argumenting about binary incompatibility for -stable. OK... no chance to do it there, its my opinion too. But why not doing it for current and using that most common dwarf unwinding now (for a There is no

Re: Interesting sysctl variables in Mac OS X with hw info

2002-03-15 Thread Brooks Davis
On Fri, Mar 15, 2002 at 10:08:53AM +, Josh Paetzel wrote: This is a perfect example of, Just because you can do something, doesn't mean you should. I wouldn't see anything wrong with grabbing the clock frequency of the first cpu in the system and noting in the man page that if you

Re: Interesting sysctl variables in Mac OS X with hw info

2002-03-15 Thread Terry Lambert
Josh Paetzel wrote: This is a perfect example of, Just because you can do something, doesn't mean you should. I wouldn't see anything wrong with grabbing the clock frequency of the first cpu in the system and noting in the man page that if you have multiple cpus and you aren't running them

Re: Extending loader(8) for loading kerels/modules split across several disks

2002-03-15 Thread Maxim Sobolev
Michael Smith wrote: Please review attached patch, which adds long overdue feature to our loader(8), allowing it to load sequence of files as a single object. I don't like this. I would much rather see support for 'split' files implemented as a stacking filesystem layer like

Should the stat(2) man page contain information on test macros

2002-03-15 Thread Hiten Pandya
Hi, I might be missing the point here, and I tried looking for this in all the stat man pages (apropos stat), but couldn't find it. OK, is it a good idea, to have the S_IS* macros documented in the stat(2) man page, or are they documented in the man pages (other than stat(2)) already? :)

Re: Should the stat(2) man page contain information on test macros

2002-03-15 Thread Hiten Pandya
Just cross-reference to a man page that has them. chmod(2) seems to be the most logical choice. The chmod(2) man page doesn't have the S_ISBLK, S_ISCHR and related macros documented, and personally I don't think that is the right place for this particular stat related macros.. :) Thanks,

Re: Interesting sysctl variables in Mac OS X with hw info

2002-03-15 Thread Doug White
On Thu, 14 Mar 2002, Jordan Hubbard wrote: What for? You haven't caught the Megahertz bug too, have you? 8) I'm not supposed to focus on Megahertz, I work for Apple, but various benchmarking folks also like to be able to print stats like this out on their comparison charts and it seems a

Re: Interesting sysctl variables in Mac OS X with hw info

2002-03-15 Thread Terry Lambert
Doug White wrote: I've been asked several times about how to get CPU speed information for inventory purposes. People would really like the speed number printed on the chip, not what it's currently running at, if that's retrievable :) Can't mask the speed number. Chips with a lower

poll() timing problems?

2002-03-15 Thread Markus Stumpf
We are experiencing some problems which I think *could* be related to timeout problems with poll(). 1) mysql-3.23.48 + FreeBSD 4.2-RELEASE (also happens with prior mysql releases) CPU: Pentium III/Pentium III Xeon/Celeron (796.54-MHz 686-class CPU) Origin = GenuineIntel Id = 0x683

Re: Interesting sysctl variables in Mac OS X with hw info

2002-03-15 Thread Matthew Dillon
:Doug White wrote: : I've been asked several times about how to get CPU speed information for : inventory purposes. : : People would really like the speed number printed on the chip, not what : it's currently running at, if that's retrievable :) : :Can't mask the speed number. : :Chips with a

Re: gcc -O broken in CURRENT

2002-03-15 Thread Kenneth Culver
I guess it's possible to change over entirely. That would mean we would loase a.out support because the GNU tools are becoming incapable of supporting a.out (all machines we run on are Linux machines syndrome). If we really wanted to avoid problems like this in the future, we'd just scrap

Re: gcc -O broken in CURRENT

2002-03-15 Thread David O'Brien
On Fri, Mar 15, 2002 at 04:54:59PM -0500, Kenneth Culver wrote: At the risk of being yelled at, I have a question: Why do we still need to support a.out? I know that a lot of people MIGHT still have some a.out binaries lying around, but FreeBSD's default binary format has been ELF for 3 or 4

Re: gcc -O broken in CURRENT

2002-03-15 Thread Kenneth Culver
At the risk of being yelled at, I have a question: Why do we still need to support a.out? I know that a lot of people MIGHT still have some a.out binaries lying around, but FreeBSD's default binary format has been ELF for 3 or 4 years (Since 3.0-3.1 I believe). I'm not saying that we

Re: gcc -O broken in CURRENT

2002-03-15 Thread David O'Brien
On Fri, Mar 15, 2002 at 05:26:37PM -0500, Kenneth Culver wrote: At the risk of being yelled at, I have a question: Why do we still need to support a.out? I know that a lot of people MIGHT still have some a.out ... Rather than offer $0.02, send the patch. Well, I was just asking if it is

Re: gcc -O broken in CURRENT

2002-03-15 Thread Terry Lambert
Kenneth Culver wrote: At the risk of being yelled at, I have a question: Why do we still need to support a.out? I know that a lot of people MIGHT still have some a.out binaries lying around, but FreeBSD's default binary format has been ELF for 3 or 4 years (Since 3.0-3.1 I believe). I'm not

Re: gcc -O broken in CURRENT

2002-03-15 Thread Kenneth Culver
We aren't changing this for GCC 2.95 in 5-CURRENT. PEROID. There is zero reason for subjecting users to this ABI change for what would be gained. If you want to do something productive, submit patches that Bmake GCC 3.1 (which move us to Dwarf2 unwinding as a product). Oh ok, that's

Re: gcc -O broken in CURRENT

2002-03-15 Thread Kenneth Culver
At the risk of being yelled at, I have a question: Why do we still need to support a.out? I know that a lot of people MIGHT still have some a.out binaries lying around, but FreeBSD's default binary format has been ELF for 3 or 4 years (Since 3.0-3.1 I believe). I'm not saying that we

weird sh behaviour

2002-03-15 Thread Luigi Rizzo
/bin/sh seems not to expanding metacharacters in filenames used for I/O redirection: $ /bin/sh $ ls -l $ touch bbb $ echo test b* $ ls -l total 2 -rw-r--r-- 1 luigi wheel 5 Mar 16 01:20 b* -rw-r--r-- 1 luigi wheel 0 Mar 16

Re: weird sh behaviour

2002-03-15 Thread Tim J. Robbins
On Fri, Mar 15, 2002 at 04:26:09PM -0800, Luigi Rizzo wrote: /bin/sh seems not to expanding metacharacters in filenames used for I/O redirection: *snip* Is it a feature or a bug ? From my understanding of the POSIX standard, pathname expansion (globbing etc.) should be performed on the

Re: Extending loader(8) for loading kerels/modules split across several disks

2002-03-15 Thread Daniel C. Sobral
For whatever it is worth, I like it. Maxim Sobolev wrote: Michael Smith wrote: Please review attached patch, which adds long overdue feature to our loader(8), allowing it to load sequence of files as a single object. I don't like this. I would much rather see support for

Re: gcc -O broken in CURRENT

2002-03-15 Thread Matthew D. Fuller
[ Trim the CC's a bit ] On Fri, Mar 15, 2002 at 04:00:08PM -0800 I heard the voice of Terry Lambert, and lo! it spake thus: Kenneth Culver wrote: Other reasons I haven't even thought of yet 8-). Yeah, I was just wondering if there were issues making us keep a.out stuff in FreeBSD

Re: gcc -O broken in CURRENT

2002-03-15 Thread Kenneth Culver
(ttypa):{1078}% file /usr/local/lib/netscape/communicator-4.7.us.bin /usr/local/lib/netscape/communicator-4.7.us.bin: FreeBSD/i386 compact demand paged dynamically linked executable Now, if you'd like to talk Netscape into building a version intended for a version of FreeBSD newer than,

Re: gcc -O broken in CURRENT

2002-03-15 Thread Matthew D. Fuller
On Fri, Mar 15, 2002 at 08:53:16PM -0500 I heard the voice of Kenneth Culver, and lo! it spake thus: I didn't realize anyone still used netscape 4.x. It's so disgustingly unstable and slow. That it is. The problem, of course, is that all the alternatives are more unstable and slowER.

Re: gcc -O broken in CURRENT

2002-03-15 Thread Greg Black
[Cc's trimmed] Kenneth Culver wrote: | (ttypa):{1078}% file /usr/local/lib/netscape/communicator-4.7.us.bin | /usr/local/lib/netscape/communicator-4.7.us.bin: FreeBSD/i386 compact |demand paged dynamically linked executable | | Now, if you'd like to talk Netscape into building a version

Re: Removing data segment size limit

2002-03-15 Thread Francis Vidal
Dan, memory_pools is off, main memory is 1.5GB with cache_mem set at 128MB. cache_dir total is around 96GB (spread across 3 HDDs). I haven't really monitored the memory growth but it's now at 548MB (from top). - Original Message - From: Dan Nelson [EMAIL PROTECTED] To: Francis Vidal

Re: gcc -O broken in CURRENT

2002-03-15 Thread Kenneth Culver
#include rehash.h, see the thread we had on this a few weeks back on -chat. OK, I'll look, but I disagree... Mozilla runs flawlessly for me, and renders much faster than netscape, however it loads really slow. Opera runs nicely too, although it's linux only. Ken To Unsubscribe: send mail to

Re: gcc -O broken in CURRENT

2002-03-15 Thread Kenneth Culver
It's less slow and much more reliable than mozilla and remains the only available browser that can access most of the sites I need to access. That's odd, I've never had any mozilla problems. All I know is that it doesn't crash on sites that Netscape crashes on (anything java) and for me it

Re: gcc -O broken in CURRENT

2002-03-15 Thread Kenneth Culver
That's odd, I've never had any mozilla problems. All I know is that it doesn't crash on sites that Netscape crashes on (anything java) and for me it runs much faster than netscape. It loads slower, but renders pages much faster, and I tend to load my browser once per day, and just leave it

Re: gcc -O broken in CURRENT

2002-03-15 Thread Julian Elischer
On Sat, 16 Mar 2002, Greg Black wrote: [Cc's trimmed] Kenneth Culver wrote: | (ttypa):{1078}% file /usr/local/lib/netscape/communicator-4.7.us.bin | /usr/local/lib/netscape/communicator-4.7.us.bin: FreeBSD/i386 compact |demand paged dynamically linked executable | | Now, if

Re: gcc -O broken in CURRENT

2002-03-15 Thread Brian T . Schellenberger
On Friday 15 March 2002 08:53 pm, Kenneth Culver wrote: | (ttypa):{1078}% file /usr/local/lib/netscape/communicator-4.7.us.bin | /usr/local/lib/netscape/communicator-4.7.us.bin: FreeBSD/i386 compact |demand paged dynamically linked executable | | Now, if you'd like to talk Netscape into

RE: gcc -O broken in CURRENT

2002-03-15 Thread Benjamin P. Grubin
Err--the linux netscape 6 runs fine. It's also quite slow to load, but so far appears to be rather robust. Cheers, Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Brian T.Schellenberger Sent: Friday, March 15, 2002 10:41 PM To: Kenneth

Re: PCI read config functions

2002-03-15 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Daniel O'Connor [EMAIL PROTECTED] writes: : On Fri, 2002-03-15 at 03:13, M. Warner Losh wrote: : The pci config space is always mapped. What does pciconf -r pciX:Y:Z : 0:0xff say? X:Y:Z is the pci bus address. : : mdtest# pciconf -r pci0:11:0 0:0xff

Re: gcc -O broken in CURRENT

2002-03-15 Thread Terry Lambert
Brian T.Schellenberger wrote: Well, the linux-netscape 4 is the only browser I know that can handle Java pages on FreeBSD. Are there others? If you mean the FreeBSD-native netscape 4.x; yes, it's perfectly silly to run *that*. 4.7 does this just fine, if you don't move the mouse until

[no subject]

2002-03-15 Thread User Faneyli
To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Removing data segment size limit

2002-03-15 Thread Dan Nelson
In the last episode (Mar 16), Francis Vidal said: memory_pools is off, main memory is 1.5GB with cache_mem set at 128MB. cache_dir total is around 96GB (spread across 3 HDDs). I haven't really monitored the memory growth but it's now at 548MB (from top). That doesn't sound too bad; For

Re: Interesting sysctl variables in Mac OS X with hw info

2002-03-15 Thread Josh Paetzel
On Fri, Mar 15, 2002 at 10:27:22AM -0800, Terry Lambert wrote: Josh Paetzel wrote: This is a perfect example of, Just because you can do something, doesn't mean you should. I wouldn't see anything wrong with grabbing the clock frequency of the first cpu in the system and noting in the