Fork error

2007-12-25 9:44:00

Thanks everyone for your prompt responses.

This problem was as I suspected a memory problem. This was masked

slightly

because we have many machines running the exact same processes and this

one

has the most memory. However, it turned out to have the least swap

space of them all.

swap -l and swap -s proved that swap was indeed the problem.

so I did this:

mkfile 100m /opt/swap.file

swap -a /opt/swap.file

which added a 100 meg swapo file to the system.

I also added this file to the vfstab so that it would be mounted at

boot.

Incidentally I was able to find the process that was using all the swap

by

using ps -aefl. It just so happens that this program preferrs to swap

for itself

instead of using sun swap, but the parameters were set such that solaris

was

swapping before memory usage reached the programs swap threshold. SO, I

lowered this value in addition to creating the swap file.

Thanks again for the help!

>Hello admin,

>

> Can anyone tell me what tunable parameters effect forking?

> I am running Solaris2.5.1 and I keep

> getting cannot fork errors when trying to start new processes.

> Unfortunately we have no admin here, and no one else here has a

> clue how to fix this. I suspect memory problems, but I am not sure.

> If you need more info. just ask...no problem.

> Thanks! I will summarize.

> --

> Roger McGraw

                                 Roger McGraw

 _______________________________________________________

| _|_|_| _|_|_|_|_| _|_| _|_|_| |

| _| _| _| _| _| _| |

| _|_|_| _| _|_|_|_| _| |

| _| _| _| _| _| |

| _| _| _| _| _|_|_| |

| Precast Technical Assistance Corporation |

|_______________________________________________________|

| PTAC Consulting Engineers | Roger McGraw, Jr., EIT |

| 124 E Wright St. Suite C | Tel.: (850) 432-8446 |

| Pensacola, Fl 32501 | Fax.: (850) 432-9875 |

| | EMail: roger@ptac.com |

|_______________________________________________________|

Comments

Got something to say?

You must be logged in to post a comment.