Static linking and memory usage

2007-08-14 Thread Pete French
If I have an executable which is staticly linked with many copies of it running (a CGI script in fact), will all those copies share the text segment of the executable on the disc, or will it actually use up real memory resource with many copies of the executable ? I have been assuming the former,

Re: Static linking and memory usage

2007-08-14 Thread Jeremy Chadwick
On Tue, Aug 14, 2007 at 03:31:04PM +0100, Pete French wrote: If I have an executable which is staticly linked with many copies of it running (a CGI script in fact), will all those copies share the text segment of the executable on the disc, or will it actually use up real memory resource with

Adobe flash media server compatibility?

2007-08-14 Thread Albert Wong
Is it possible to use Adobe Flash Media Server on FreeBSD? It appears as if Adobe Flash Media Server is only compatible with Red Hat, but I read somewhere that a fix was made so that it could be made compatible with Ubuntu. Is there similar fix for FreeBSD? Thanks for your thoughts. Albert

Re: 3ware RAID ctrlr: twe0: twe_map_request: malloc failed.

2007-08-14 Thread Howard Goldstein
Scott Long wrote: Howard Goldstein wrote: Would someone confirm (or disabuse!) me of the belief that these 3ware Escalade 8106-LP2 (2 port sata raid controllers) related messages are informational and the UFS device is retrying after it sees ENOMEM causing these? Aug 13 10:29:48 cally

Re: 3ware RAID ctrlr: twe0: twe_map_request: malloc failed.

2007-08-14 Thread Scott Long
Howard Goldstein wrote: Scott Long wrote: Howard Goldstein wrote: Would someone confirm (or disabuse!) me of the belief that these 3ware Escalade 8106-LP2 (2 port sata raid controllers) related messages are informational and the UFS device is retrying after it sees ENOMEM causing these? Aug

Re: Static linking and memory usage

2007-08-14 Thread Oliver Fromme
Jeremy Chadwick wrote: Pete French wrote: If I have an executable which is staticly linked with many copies of it running (a CGI script in fact), will all those copies share the text segment of the executable on the disc, or will it actually use up real memory resource with many

Re: Static linking and memory usage

2007-08-14 Thread Bruce M. Simpson
Jeremy Chadwick wrote: This reminds me: it sure would be useful if we had something like Solaris's pmap(1) on FreeBSD. In response to the original post: The kernel's ELF linker/loader for executables will share the text and read-only segments for static executables. We already have

Re: Adobe flash media server compatibility?

2007-08-14 Thread Kip Macy
You're obviously going to have to modify the install scripts to recognize FreeBSD in addition to RHEL3 RHEL4. When I tried it on -CURRENT there was some symbol versioning issue so I just installed it in a CentOS VM instead (its not for me and its only being used for development). You'll probably

RE: Static linking and memory usage

2007-08-14 Thread David Schwartz
If I have an executable which is staticly linked with many copies of it running (a CGI script in fact), will all those copies share the text segment of the executable on the disc, or will it actually use up real memory resource with many copies of the executable ? I have been assuming the