RE: squid 1.1.10 is FORKING?

From: Rania Fakhoury <[email protected]>
Date: Tue, 14 May 1996 14:35:46 +0300

No I am not using RunCache.

It forks with me (with 2 * 100Mb process) two days ago. I am using 2 squid cache (sibling one other) on the same machine with different IP.

  ---------------------------------------------------------
How are you starting it - are you using RunCache? Squid never forks for
us (and as a 100Mb process I'd prefer it not to). What makes you think
it's forking?

Looking at the source:

isolde-redferni:/usr/local/squid/src/squid-1.1.10% fgrep fork */*
doc/Release-Notes-1.0.txt:needs to fork itself for FTP requests.
scripts/icpserver.pl:# Might be fast enough to get away without forking
or non-blocking I/O ... ?
src/dns.c: if ((pid = fork()) < 0) {
src/dns.c: debug(50, 0, "dnsOpenServer: fork: %s\n", xstrerror());
src/ftp.c: if ((pid = fork()) < 0) {
src/ftp.c: debug(50, 0, "ftpInitialize: fork: %s\n", xstrerror());
src/ftp.c: fatal("Failed to fork() for ftpget.");
src/ftpget.c: if (fork()) {
src/icmp.c: if ((pid = fork()) < 0) {
src/icmp.c: debug(50, 0, "icmpOpen: fork: %s\n", xstrerror());
src/redirect.c: if ((pid = fork()) < 0) {
src/redirect.c: debug(50, 0, "redirect_create_redirector: fork: %s\n",
xstrerror
());
src/unlinkd.c: if ((pid = fork()) < 0) {
src/unlinkd.c: debug(50, 0, "unlinkdCreate: fork: %s\n", xstrerror());
isolde-redferni:/usr/local/squid/src/squid-1.1.10%

It only forks to start its subtasks such as ftpget and the DNS stuff.

Ian Redfern (redferni@logica.com).
 ----------
From: Rania Fakhoury
To: squid-users@nlanr.net
Subject: squid 1.1.10 is FORKING?
Date: 14 May 1996 11:48am

Hello Squidders,

Yes, Squid is forking (Not ftpget). I think seriously about
re-installing netscape.

I have a linux 2.0.30 with squid 1.1.10 running a pentiumn 256 k of Ram

Anybody has an idea of what ig going on ?

 -------------------------------------------------------------
Rania Fakhoury | Tel: 961-1-744101
System Administrator | Fax: 961-1-744102
Cyberia s.a.l | E-mail: raniaf@cyberia.net.lb
http://www.cyberia.net.lb/|
 -----------------------------------------------------------
Received on Wed May 14 1997 - 04:46:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:11 MST