Intel S3000AH i386 4.3-current 23 June Snapshot cannot fork try again

2008-06-24 Thread Insan Praja SW

Hi,
I got two machine on June 23rd snapshots, which slowly decrease its free  
memory till it drops dead. Actually, this happens since maybe 3 latest  
snapshots during last week till now. When it did, even when I currently  
ssh-ing to the machine, and execute a command such uname -a or anything,  
it replies cannot fork try again or, via console internal resource  
failure.


So, Here is dmesg:
OpenBSD 4.3-current (GENERIC) #4: Mon Jun 23 17:05:42 WIT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
RTC BIOS diagnostic error ffixed_disk,invalid_time
cpu0: Intel(R) Pentium(R) D CPU 3.00GHz (GenuineIntel 686-class) 3.01 GHz
cpu0:  
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S

SE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR
real mem  = 1069670400 (1020MB)
avail mem = 1026125824 (978MB)
RTC BIOS diagnostic error ffixed_disk,invalid_time
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/11/06, SMBIOS rev. 2.4 @  
0x3fbf4000 (42 entries)
bios0: vendor Intel Corporation version  
S3000.86B.02.00.0044.071120071047 date 07/11/2007

bios0: Intel S3000AH
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC WDDT MCFG ASF! SSDT SSDT SSDT SSDT SSDT
acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S1) PEX4(S4) PEX5(S4)  
UHC1(S1) UHC2(S1) UHC3(S1) UHC4(S1) EHCI(S1) AC9M(S4) AZAL(S4)

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P32_)
acpiprt2 at acpi0: bus 1 (PEX0)
acpiprt3 at acpi0: bus -1 (PEX1)
acpiprt4 at acpi0: bus -1 (PEX2)
acpiprt5 at acpi0: bus -1 (PEX3)
acpiprt6 at acpi0: bus 2 (PEX4)
acpiprt7 at acpi0: bus 3 (PEX5)
acpicpu0 at acpi0: FVS, 3000, 2400 MHz
acpibtn0 at acpi0: SLPB
bios0: ROM list: 0xc/0x9000 0xc9000/0x1800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel E7230 Host rev 0x00
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: irq 9
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 4 Intel 82801G PCIE rev 0x01: irq 9
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 5 Intel 82801G PCIE rev 0x01: irq 11
pci3 at ppb2 bus 3
em0 at pci3 dev 0 function 0 Intel PRO/1000MT (82573E) rev 0x03: irq 9,  
address 00:15:17:49:04:0d

Intel 82573E Serial rev 0x03 at pci3 dev 0 function 3 not configured
Intel 82573E KCS rev 0x03 at pci3 dev 0 function 4 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: irq 10
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: irq 11
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: irq 11
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xe1
pci4 at ppb3 bus 4
skc0 at pci4 dev 0 function 0 D-Link Systems DGE-530T B1 rev 0x11, Yukon  
Lite (0x9): irq 11

sk0 at skc0 port A: address 00:1c:f0:11:6c:d4
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
em1 at pci4 dev 1 function 0 Intel PRO/1000MT (82540EM) rev 0x02: irq  
11, address 00:07:e9:0f:44:ac

vga1 at pci4 dev 4 function 0 ATI ES1000 rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em2 at pci4 dev 5 function 0 Intel PRO/1000MT (82541GI) rev 0x05: irq 9,  
address 00:15:17:49:04:0e
ichpcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01: PM  
disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA,  
channel 0 configured to compatibility, channel 1 configured to  
compatibility

atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: HL-DT-ST, DVD-ROM GDR-H30N, 1.00 ATAPI  
5/cdrom removable

cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 Intel 82801GB SATA rev 0x01: DMA,  
channel 0 configured to native-PCI, channel 1 configured to native-PCI

pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: ST380215AS
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 Intel 82801GB SMBus rev 0x01: irq 10
iic0 at ichiic0
adt0 at iic0 addr 0x2e: sch5027 rev 0x69
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0

Cannot fork

2007-09-26 Thread Edd Barrett
Hi all,

Yesterday my workstation started doing this:
[EMAIL PROTECTED]:eddlocal ifconfig
ksh: cannot fork - try again

It usually only lasts a couple of minutes, but during which time the
machine is pretty useless.

Top tells me that I have 500MB of RAM free, and that the OS has not
even started swapping.

I am going to try upgrading my snapshot to see if that fixes this, but
I thought I should report it incase.

OpenBSD 4.2-current (GENERIC) #2: Tue Sep 11 14:16:04 BST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
real mem  = 1055678464 (1006MB)
avail mem = 1013071872 (966MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/05/04, BIOS32 rev. 0 @
0xf0010, SMBIOS rev. 2.3 @ 0xfbe40 (76 entries)
bios0: vendor Intel Corp. version BF86510A.86A.0058.P15.0404050012
date 04/05/2004
bios0: Intel Corporation D865GLC
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf3d00/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xa200! 0xca800/0x1000 0xcb800/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82865G/PE/P CPU-I/0-1 rev 0x02
vga1 at pci0 dev 2 function 0 Intel 82865G Video rev 0x02: aperture
at 0xf000, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 3 function 0 Intel 82865G/PE/P CPU-CSA rev 0x02
pci1 at ppb0 bus 1
em0 at pci1 dev 1 function 0 Intel PRO/1000CT (82547EI) rev 0x00:
irq 10, address 00:0c:f1:f5:13:41
uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801EB/ER USB rev 0x02: irq 5
uhci2 at pci0 dev 29 function 2 Intel 82801EB/ER USB rev 0x02: irq 10
uhci3 at pci0 dev 29 function 3 Intel 82801EB/ER USB rev 0x02: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801EB/ER USB2 rev 0x02: irq 9
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xc2
pci2 at ppb1 bus 2
ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02:
24-bit timer at 3579545Hz
pciide0 at pci0 dev 31 function 1 Intel 82801EB/ER IDE rev 0x02:
DMA, channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 Intel 82801EB SATA rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: WDC WD800JD-00MSA1
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 Intel 82801EB/ER SMBus rev 0x02: irq 3
iic0 at ichiic0
adt0 at iic0 addr 0x2e: emc6d100 rev 0x65
auich0 at pci0 dev 31 function 5 Intel 82801EB/ER AC97 rev 0x02: irq
3, ICH5 AC97
ac97: codec id 0x41445375 (Analog Devices AD1985)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4: Intel UHCI root hub, rev 1.00/1.00, addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ff6d netmask ff6d ttymask ffef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
uhidev0 at uhub1 port 1 configuration 1 interface 0
uhidev0: Sun Microsystems Type 6 Mouse, rev 1.00/1.02, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons
wsmouse0 at ums0 mux 0
uhidev1 at uhub1 port 2 configuration 1 interface 0
uhidev1: Sun Microsystems Type 6 Keyboard, rev 1.00/1.01, addr 3, iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes, layout 32
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
auich0: measured ac97 link rate at 47998 Hz

Re: Cannot fork

2007-09-26 Thread Jacob Yocom-Piatt

Edd Barrett wrote:

Hi all,

Yesterday my workstation started doing this:
[EMAIL PROTECTED]:eddlocal ifconfig
ksh: cannot fork - try again

It usually only lasts a couple of minutes, but during which time the
machine is pretty useless.

  


you sure you've not got your maximum number of processes for your login 
class? i routinely see this error on my workstations when i've got lots 
of stuff open. the proper solution is to bump up the login.conf values 
for your login class, not sure if this can be fixed sans complete logout 
and relogin.


if it's lasting a couple minutes then maybe some processes are being 
created and destroyed shortly thereafter.


cheers,
jake


Top tells me that I have 500MB of RAM free, and that the OS has not
even started swapping.

I am going to try upgrading my snapshot to see if that fixes this, but
I thought I should report it incase.

OpenBSD 4.2-current (GENERIC) #2: Tue Sep 11 14:16:04 BST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
real mem  = 1055678464 (1006MB)
avail mem = 1013071872 (966MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/05/04, BIOS32 rev. 0 @
0xf0010, SMBIOS rev. 2.3 @ 0xfbe40 (76 entries)
bios0: vendor Intel Corp. version BF86510A.86A.0058.P15.0404050012
date 04/05/2004
bios0: Intel Corporation D865GLC
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf3d00/224 (12 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801EB/ER LPC rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0xa200! 0xca800/0x1000 0xcb800/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82865G/PE/P CPU-I/0-1 rev 0x02
vga1 at pci0 dev 2 function 0 Intel 82865G Video rev 0x02: aperture
at 0xf000, size 0x800
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 3 function 0 Intel 82865G/PE/P CPU-CSA rev 0x02
pci1 at ppb0 bus 1
em0 at pci1 dev 1 function 0 Intel PRO/1000CT (82547EI) rev 0x00:
irq 10, address 00:0c:f1:f5:13:41
uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801EB/ER USB rev 0x02: irq 5
uhci2 at pci0 dev 29 function 2 Intel 82801EB/ER USB rev 0x02: irq 10
uhci3 at pci0 dev 29 function 3 Intel 82801EB/ER USB rev 0x02: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801EB/ER USB2 rev 0x02: irq 9
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0xc2
pci2 at ppb1 bus 2
ichpcib0 at pci0 dev 31 function 0 Intel 82801EB/ER LPC rev 0x02:
24-bit timer at 3579545Hz
pciide0 at pci0 dev 31 function 1 Intel 82801EB/ER IDE rev 0x02:
DMA, channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 Intel 82801EB SATA rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: WDC WD800JD-00MSA1
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 Intel 82801EB/ER SMBus rev 0x02: irq 3
iic0 at ichiic0
adt0 at iic0 addr 0x2e: emc6d100 rev 0x65
auich0 at pci0 dev 31 function 5 Intel 82801EB/ER AC97 rev 0x02: irq
3, ICH5 AC97
ac97: codec id 0x41445375 (Analog Devices AD1985)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4: Intel UHCI root hub, rev 1.00/1.00, addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ff6d netmask ff6d ttymask ffef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
uhidev0 at uhub1 port 1 configuration 1 interface 0
uhidev0: Sun Microsystems Type 6 Mouse, rev 1.00/1.02, addr 2

Re: Cannot fork

2007-09-26 Thread Markus Lude
On Wed, Sep 26, 2007 at 10:11:57AM +0100, Edd Barrett wrote:
 Hi all,
 
 Yesterday my workstation started doing this:
 [EMAIL PROTECTED]:eddlocal ifconfig
 ksh: cannot fork - try again
 
 It usually only lasts a couple of minutes, but during which time the
 machine is pretty useless.
 
 Top tells me that I have 500MB of RAM free, and that the OS has not
 even started swapping.

You have reached the limit of the maximal allowed processes run by you.
You could raise the limit in /etc/login.conf, but first I would check if
there is something wrong on your machine with that many processes. It
could be OK.

 I am going to try upgrading my snapshot to see if that fixes this, but
 I thought I should report it incase.
 
Regards,
Markus



Re: Cannot fork

2007-09-26 Thread Edd Barrett
On 26/09/2007, Markus Lude [EMAIL PROTECTED] wrote:
 You have reached the limit of the maximal allowed processes run by you.

Correct I am only allowed 64. A quick login class switch to staff
should fix this.

Thanks for the help.

-- 
Best Regards

Edd

---
http://students.dec.bournemouth.ac.uk/ebarrett



ksh: cannot fork - try again ??

2006-04-14 Thread Jacob Yocom-Piatt
since i've started doing C programming on my openbsd-3.8 release machine, i've
had a problem with running processes. sometimes i get the following message when
trying to issue shell commands:

ksh: cannot fork - try again

looking at my ulimit output, i see the following:

$ ulimit -a
time(cpu-seconds)unlimited
file(blocks) unlimited
coredump(blocks) unlimited
data(kbytes) 524288
stack(kbytes)4096
lockedmem(kbytes)316622
memory(kbytes)   945236
nofiles(descriptors) 128
processes128

should i change my login class settings in /etc/login.conf, or is sufficient to
change them with $ ulimit -n 128, etc.? i'm not sure what's going on here, so
any advice is appreciated.

this is my desktop machine and i have a lot of stuff open concurrently on it.

cheers,
jake



Re: ksh: cannot fork - try again ??

2006-04-14 Thread Otto Moerbeek
On Fri, 14 Apr 2006, Jacob Yocom-Piatt wrote:

 since i've started doing C programming on my openbsd-3.8 release machine, i've
 had a problem with running processes. sometimes i get the following message 
 when
 trying to issue shell commands:
 
 ksh: cannot fork - try again
 
 looking at my ulimit output, i see the following:
 
 $ ulimit -a
 time(cpu-seconds)unlimited
 file(blocks) unlimited
 coredump(blocks) unlimited
 data(kbytes) 524288
 stack(kbytes)4096
 lockedmem(kbytes)316622
 memory(kbytes)   945236
 nofiles(descriptors) 128
 processes128
 
 should i change my login class settings in /etc/login.conf, or is sufficient 
 to
 change them with $ ulimit -n 128, etc.? i'm not sure what's going on here, 
 so
 any advice is appreciated.
 
 this is my desktop machine and i have a lot of stuff open concurrently on it.

First check if your programming efforts aren't generating lots of
runaway processes. If that's not the case, login.conf is the answer;
ulimit one works for the current shell and processes forked by the
current shell. BTW, ulimit -n is for file descriptors, not procceses.

-Otto



Re: ksh: cannot fork - try again ??

2006-04-14 Thread Gerardo Santana Gómez Garrido
2006/4/14, Jacob Yocom-Piatt [EMAIL PROTECTED]:
 since i've started doing C programming on my openbsd-3.8 release machine, i've
 had a problem with running processes. sometimes i get the following message 
 when
 trying to issue shell commands:

 ksh: cannot fork - try again

 looking at my ulimit output, i see the following:

 $ ulimit -a
 time(cpu-seconds)unlimited
 file(blocks) unlimited
 coredump(blocks) unlimited
 data(kbytes) 524288
 stack(kbytes)4096
 lockedmem(kbytes)316622
 memory(kbytes)   945236
 nofiles(descriptors) 128
 processes128

 should i change my login class settings in /etc/login.conf, or is sufficient 
 to
 change them with $ ulimit -n 128, etc.? i'm not sure what's going on here, 
 so
 any advice is appreciated.

 this is my desktop machine and i have a lot of stuff open concurrently on it.

Hhmmm... is it KDE?, it may use many file descriptors, specially while
browsing with Konqueror.



 cheers,
 jake




--
Gerardo Santana
Between individuals, as between nations, respect for the rights of
others is peace - Don Benito Juarez
http://santanatechnotes.blogspot.com/



Re: ksh: cannot fork - try again ??

2006-04-14 Thread sico
 since i've started doing C programming on my openbsd-3.8 release machine,
 i've
 had a problem with running processes. sometimes i get the following
 message when
 trying to issue shell commands:

 ksh: cannot fork - try again

[rest deleted for brevity]

Are you maybe running out of memory? Is your swap partition big enough?

CU, Sico.

-- 



Re: ksh: cannot fork - try again ??

2006-04-14 Thread Jacob Yocom-Piatt
 Original message 
Date: Fri, 14 Apr 2006 21:05:55 +0200 (CEST)
From: [EMAIL PROTECTED]  
Subject: Re: ksh: cannot fork - try again ??  
To: [EMAIL PROTECTED]
Cc: misc@openbsd.org

 since i've started doing C programming on my openbsd-3.8 release machine,
 i've
 had a problem with running processes. sometimes i get the following
 message when
 trying to issue shell commands:

 ksh: cannot fork - try again

[rest deleted for brevity]

Are you maybe running out of memory? Is your swap partition big enough?

CU, Sico.

-- 


i have 730MB of 1GB available and that likely answers your question about swap.

i am also not running KDE, i use the default fvwm.

i will change my login class to staff and restart my X session, a la otto's
suggestion, to see if that fixes it.

everybody who replied CC'ed me, so i got 3 duplicate replies since i'm
subscribed to [EMAIL PROTECTED] why the CC fellas?



Re: ksh: cannot fork - try again ??

2006-04-14 Thread sico
 ksh: cannot fork - try again

[rest deleted for brevity]

Are you maybe running out of memory? Is your swap partition big enough?

CU, Sico.

--


 i have 730MB of 1GB available and that likely answers your question about
 swap.

I suppose.

 i am also not running KDE, i use the default fvwm.

 i will change my login class to staff and restart my X session, a la
 otto's
 suggestion, to see if that fixes it.

Do try every suggestion, as the solution to your problem could be among them.

 everybody who replied CC'ed me, so i got 3 duplicate replies since i'm
 subscribed to [EMAIL PROTECTED] why the CC fellas?

A matter of habit I suppose, sorry for that. With procmail I myself kill
dupes so as to not have that problem.

CU,
Sico.
-- 



Re: ksh: cannot fork - try again ??

2006-04-14 Thread Han Boetes
Jacob Yocom-Piatt wrote:
 everybody who replied CC'ed me, so i got 3 duplicate replies
 since i'm subscribed to [EMAIL PROTECTED] why the CC fellas?

Add a recipe to your mailfilter; something like this:

# You don't want to miss you are CC-ed after all. You just don't want
# them in your maildir.
if (/^(Cc|To).*(misc|tech|bugs|gnats|source-changes)@/) {
to $DEFAULT/cc
}



# Han