Re: unable to kill process, problem with FBSD6?

2007-08-17 Thread peceka
2007/8/17, Eugene Grosbein <[EMAIL PROTECTED]>:
> On Fri, Aug 17, 2007 at 08:47:01AM +0200, peceka wrote:
>
> > I've got strange problem. I've setup pound on my FBSD6 box and
> > sometimes it (pound) stops. Normally it should exit but it doesn't -
> > it hangs.
> >
> > # ps auwx | grep pound
> > pound   46868  0.0  1.0 55428 21932  ??  SE1:58PM   0:31.34
> > /usr/local/sbin/pound -f /usr/local/etc/pound.cfg
> >
> > S: Marks a process that is sleeping for less than about 20 seconds.
> > E: The process is trying to exit.
> >
> > It dies after 30 minutes.
> >
> > This problem doesn't exists on Linux.
> >
> > This behaviour is very irregular.
> > Why FBSD doesn't kill this process?
>
> It does if it become 'trying to exit'.
> It may have a serial device open and bugs in the driver may prevent
> process from closing device in timely manner. Try switching to uart(4) driver
> from sio(4) if this is your case.

But pound (web reverse proxy: http://www.apsis.ch/pound/) has nothing
common with serial device. So this solution is not for me. :(

Regards,
p.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


unable to kill process, problem with FBSD6?

2007-08-17 Thread peceka
Hi.

I've got strange problem. I've setup pound on my FBSD6 box and
sometimes it (pound) stops. Normally it should exit but it doesn't -
it hangs.

# ps auwx | grep pound
pound   46868  0.0  1.0 55428 21932  ??  SE1:58PM   0:31.34
/usr/local/sbin/pound -f /usr/local/etc/pound.cfg

S: Marks a process that is sleeping for less than about 20 seconds.
E: The process is trying to exit.

It dies after 30 minutes.

This problem doesn't exists on Linux.

This behaviour is very irregular.
Why FBSD doesn't kill this process?

Regards,
p.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re[2]: device polling and high load averages

2005-09-27 Thread peceka
Witaj Glenn,

W Twoim liście datowanym 27 września 2005 (12:14:25) można przeczytać:

> At 02:41 AM 9/27/2005, Vlad GALU wrote:
>>On 9/27/05, peceka <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> >
>> > I've got:
>> > fw3# uname -r
>> > 5.4-RELEASE-p7
>> >
>> > in my kernel config i've set:
>> > options HZ=1000
>> > options DEVICE_POLLING
>> >
>> > fw3# cat /etc/rc.conf | grep ifconfig
>> > ifconfig_em0="inet 192.168.1.251 netmask 255.255.255.0 polling"
>> >
>> > fw3# cat /etc/sysctl.conf | grep poll
>> > kern.polling.enable=1
>> > kern.polling.idle_poll=1
>> >
>> > And all the time i've got:
>> > fw3# uptime
>> > 11:22AM  up  1:59, 1 user, load averages: 1.00, 1.00, 0.96
>> >
>> > from top:
>> > last pid: 88131;  load averages:  1.00,  1.00,  0.96
>> > 24 processes:  1 running, 23 sleeping
>> > CPU states:  0.0% user,  0.0% nice, 99.2% system,  0.8% 
>> interrupt,  0.0% idle
>> >
>> > But this machine do nothing, just pure FBSD system. So why there is
>> > such high load aver.?
>> >
>>
>>   Because of kern.polling.idle_poll.

> and a load average of 1 isn't exactly "high" either...

But for machine which does nothing?
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3200.13-MHz 686-class CPU)
real memory  = 1341063168 (1278 MB)

What to do with kern.polling.idle_poll? It is needed to be set to 1?
What does this do?

Best regards,
p.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


device polling and high load averages

2005-09-27 Thread peceka
Hi,

I've got:
fw3# uname -r
5.4-RELEASE-p7

in my kernel config i've set:
options HZ=1000
options DEVICE_POLLING

fw3# cat /etc/rc.conf | grep ifconfig
ifconfig_em0="inet 192.168.1.251 netmask 255.255.255.0 polling"

fw3# cat /etc/sysctl.conf | grep poll
kern.polling.enable=1
kern.polling.idle_poll=1

And all the time i've got:
fw3# uptime
11:22AM  up  1:59, 1 user, load averages: 1.00, 1.00, 0.96

from top:
last pid: 88131;  load averages:  1.00,  1.00,  0.96
24 processes:  1 running, 23 sleeping
CPU states:  0.0% user,  0.0% nice, 99.2% system,  0.8% interrupt,  0.0% idle

But this machine do nothing, just pure FBSD system. So why there is
such high load aver.?

Best regards,
p.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re[2]: HP DL140 and ata0-slave: FAILURE-ATA_IDENTIFY timed out.

2005-09-26 Thread peceka
Hi,

> ATA MKiiin Sources & Patch files
>- http://people.freebsd.org/~sos/ATA/ata-mk3n-releng5.tar.gz
>- http://people.freebsd.org/~sos/ATA/ata-mk3n.diff-releng5.gz

And how stable is this driver? Can it be installed on production
machine?

Regards,
p.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


HP DL140 and ata0-slave: FAILURE-ATA_IDENTIFY timed out.

2005-09-22 Thread peceka
Hi,

we've got HP DL-140 G3. When trying to startup
installation CD of FBSD 5.4 on it we've got:

atapci0:  port
0x1470-0x147f,0x376,0x170-0x177,0x3f6,-x1f0-0x1f7 at device 31.2 on
pci0
ata0: channel #0 on atapci0
ata1: channel #0 on atapci0
...
ata0-slave: FAILURE-ATA_IDENTIFY timed out.
ata0-slave: FAILURE-ATA_IDENTIFY timed out.
ata0-master: FAILURE-ATA_IDENTIFY timed out.
ata0-master: FAILURE-ATA_IDENTIFY timed out.
ata0-slave: FAILURE-ATA_IDENTIFY timed out.
ata1-master: FAILURE-ATA_IDENTIFY timed out.
ata1-master: FAILURE-ATA_IDENTIFY timed out.

And after a while sysinstall start up, but there is no disks to
partition it.

FBSD 6-BETA4 is OK, and FBSD 4.11 too. But only in 5 it's broken.

Can anybody tell what wrong with this?

Best Regards,
p.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IBM x346 and IPMI (BMC)

2005-07-28 Thread peceka
Hi,

has anyone used IPMI (BMC) with x346 and FreeBSD successful?
Today i've configured with bmc_cfg.exe all BMC options and when server
is in DOS mode i can log in to it and reboot it. But when FBSD stand
up connection to BMC is lost.
In IBM help desk some technicans told me: "BMC works only on linux and
windows because on BSD IBM can't earn money". But i don't belive it,
i've searched google for IPMI for FBSD and found two projects:
1. http://sourceforge.net/projects/ipmi-bsd/ - but it stopped in July 18, 2002.
2. http://www.gnu.org/software/freeipmi/ - it looks like it stopped in
2004-10-25.

Or mabye there are some other project? If anybody of you uses IPMI on
FBSD please share your knowledge.

Or mabye there is something else which can help me if system hangs to
reboot machine.

Best Regards,
p.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD and very heavy web server

2005-04-22 Thread peceka
On 4/21/05, Kipp Holger <[EMAIL PROTECTED]> wrote:
> 
> peceka wrote on Thu 21.04.2005 11:02
> 
> > i must set up a web server. I want to do this on FreeBSD 5.X. and
> > Apache 1.3 for this and php4.
> 
> What do you mean by 'very heavy web server'? Please be more specific.
> 
> - Do you expect many parallel connections? Default configuration
>  allows for 512 child processes with apache, so you might want
>  to set this higher during compilation (eg set to 1024).

Yes, I expect many parallel connections... 
I've got two machines for that, so traffic will be divided by DNS
round robin. But 1024 child processes will be good thing too, thanks.

> - Does it make sense to separate static and dynamic requests?
>  You might want to use separate servers(*) for static and
>  dynamic requests, using a quick low-footprint webserver for
>  static requests that allows for many parallel requests. Maybe
>  lighttpd is all you need (ymmv)

Unfortunately, all pages will be dynamic :\

> - Make sure you don't run out of mbufs, open file descriptors etc.

Ok, I'll have an eye open on this.

Thanks.

Best Regards,
p.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD and very heavy web server

2005-04-21 Thread peceka
Hi,

i must set up a web server. I want to do this on FreeBSD 5.X. and
Apache 1.3 for this and php4.
I've read `man tuning` but there aren't to much informations.

Does anybody of you can share his/her experience?

Thank you.

Best Regards,
p.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD and NMAP

2005-04-19 Thread peceka
On 4/19/05, Dominic Marks <[EMAIL PROTECTED]> wrote:
> On Tuesday 19 April 2005 12:11, pck wrote:
> > Hi,
> >
> > How can i hide from nmap that my OS is FreeBSD? Is this possible?
> 
> # sysctl -ad | grep random_id
> net.inet.ip.random_id: Assign random ip_id values
> # echo 'net.inet.ip.random_id=1' >> /etc/sysctl.conf

After that:
Interesting ports on 192.168.1.248:
(The 1643 ports scanned but not shown below are in state: closed)
Port   State   Service
22/tcp openssh
Device type: general purpose
Running (JUST GUESSING) : FreeBSD 5.X|4.X (95%), Apple Mac OS X 10.1.X
(88%), OpenBSD 3.X|2.X (88%), Apple Mac OS 8.X (85%)
Aggressive OS guesses: FreeBSD 5.0-RELEASE (95%), Apple Mac OS X
10.1.5 (88%), FreeBSD 4.3 - 4.4PRERELEASE (88%), FreeBSD 5.0-RELEASE
(x86) (88%), FreeBSD 5.1-CURRENT (June 2003) on Sparc64 (88%), OpenBSD
3.0 or 3.3 (88%), Apple Mac OS X 10.1.4 (Darwin Kernel 5.4) on iMac
(86%), FreeBSD 4.5-RELEASE (or -STABLE) through 4.6-RC (X86) (86%),
FreeBSD 4.7-RELEASE (86%), FreeBSD 5.0-RELEASE or -CURRENT (Jan 2003)
(86%)
No exact OS matches for host (test conditions non-ideal).
Uptime 0.003 days (since Tue Apr 19 13:22:41 2005)

So it didn't help much...


Best Regards,
p.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD and ProPolice Smashing Stack Protector

2005-04-19 Thread peceka
Hi,

does anybody use ProPolice Smashing Stack Protector for FreeBSD
(http://www.research.ibm.com/trl/projects/security/ssp/buildfreebsd.html)?

Is this stable with 5.4?

If not what else can I use to improve security of my OS?

Best Regards,
p.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"