maximum process limit

2005-11-30 Thread Tomas Palfi
To all,

I am running squid-2.5 STABLE10 on 5.4-RELEASE FreeBSD in production,
and I am trying to increase the maximum process size to be 2GB. I have
found a few references, however, they are all related to older releases
(FreeBSD 3) of FreeBSD.  As this server is already in production, I just
want to make sure that I am doing the right thing and the 2GB mem size
is being supported on the above version.

Can I have an option in the kernel 

option  MAXDSIZE=\(2048*1024*1024\)

will this option alone change the default maximum process size? Or do I
have to edit the login.conf file to override the details as well as the
kernel changes?

Many thanks

Tomas

--
tp





PRIVACY  CONFIDENTIALITY

This e-mail is private and confidential.  If you have, or suspect you have 
received this message in error please notify the sender as soon as possible and 
remove from your system.  You may not copy, distribute or take any action in 
reliance on it. Thank you for your co-operation.

Please note that whilst best efforts are made, neither the company nor the 
sender accepts any responsibility for viruses and it is your responsibility to 
scan the email and attachments (if any).

This e-mail has been automatically scanned for viruses by MessageLabs.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


drac management card

2005-09-14 Thread Tomas Palfi
I have installed 5.4-RELEASE10 FreeBSD on Dell PowerEdge 750 which has
an internal Drac III/XT Server Management Card.  I only found
compatibles for RedHat which will talk to the card.  Is there anything
for freebsd?

tomas
--
tp


PRIVACY  CONFIDENTIALITY

This e-mail is private and confidential.  If you have, or suspect you have 
received this message in error please notify the sender as soon as possible and 
remove from your system.  You may not copy, distribute or take any action in 
reliance on it. Thank you for your co-operation.

Please note that whilst best efforts are made, neither the company nor the 
sender accepts any responsibility for viruses and it is your responsibility to 
scan the email and attachments (if any).

This e-mail has been automatically scanned for viruses by MessageLabs.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: vinum or gvinum

2005-09-09 Thread Tomas Palfi
Stijn,

I think I am almost there as the disks are now sincing.  Thank you for
your help, it has been really appreciated.  I am still going fiddle with
the mirror with the gvinum.

Tomas
--
tp




-Original Message-
From: Stijn Hoop [mailto:[EMAIL PROTECTED] 
Sent: 09 September 2005 12:12
To: Tomas Palfi
Subject: Re: vinum or gvinum

Hi,

On Fri, Sep 09, 2005 at 12:04:42PM +0100, Tomas Palfi wrote:
 Thanks for this update, I am configuring the gmirror as per the
 instructions, however, there is one thing which bothers me a bit.
 
 bsdlabel -e /dev/mirror/gm0s1 when editing the new layout, it
 advices me to start a partition at offset 16, and c as per default
 at offset 0.  do I have to retain the offset 16 for the a partition
 where my root is located or can i have another offset + 16 and start
 swap at 0 offset?  In this case the swap would start with offset 0 as
 b.

Sounds fine. In the past there have been troubles with old BIOSes not
booting from root partitions that were located far on the disk (2G
I believe). I don't think that limitation exists anymore, but keep it
in mind. Other than that, FreeBSD will be happy.

 this is my exiting layout on /dev/da0s1
 
 a: 10485760  10485760   that's /root
 b: 10485760 0   swap
 c: 1433639970
 d: 20911520  20911520  /home
 e: 14680064  41943040  /tmp
 f: 14680064  56623104  /var
 g: 72060829  71303168  /usr/local
 
 
 and this is what I would lay it as on the /dev/mirror/gm0s1
 
 |-|-|-|---||||
 16 swap  /root   /home   /tmp /var   /usr/local
 
 
 
 a: 10485760  (10485760 + 16)  that's /root
 b: (10485760 - 16)  16  swap
 c: 1433639970
 d: 20911520  20911520  /home
 e: 14680064  41943040  /tmp
 f: 14680064  56623104  /var
 g: 72060829  71303168  /usr/local
 
 in this case the swap would be offset by those 16??

Yes, I would definitely offset things by 16 sectors. I don't really know
what's stored there but you don't lose much and it probably makes sense.

Also keep in mind that you need to make sure that /dev/ad0s1 does NOT
cover the ENTIRE disk, but rather leaves a few sectors spare at the
end. This is to make sure that gmirror does not confuse /dev/ad0 and
/dev/ad0s1 as providers for the mirror (it stores it's metadata in the
last sector). All of this is described in the article, although maybe
not very clear. Note also that by default, FreeBSD leaves a few sectors
spare when runnign fdisk, so it's not an issue most of the time unless
you 'dangerously dedicate' your disks.

Hopefully it'll all work out today ;-)

--Stijn

-- 
It's harder to read code than to write it.
-- Joel Spolsky,

http://www.joelonsoftware.com/articles/fog69.html

PRIVACY  CONFIDENTIALITY

This e-mail is private and confidential.  If you have, or suspect you have 
received this message in error please notify the sender as soon as possible and 
remove from your system.  You may not copy, distribute or take any action in 
reliance on it. Thank you for your co-operation.

Please note that whilst best efforts are made, neither the company nor the 
sender accepts any responsibility for viruses and it is your responsibility to 
scan the email and attachments (if any).

This e-mail has been automatically scanned for viruses by MessageLabs.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


vinum or gvinum

2005-09-08 Thread Tomas Palfi
Hi all,

I am still struggling to set up a one way mirror on two 72GB disks on
5.4 intel platform, however, there seems to be a lot of confusion about
what to use in the first place. this is vinum v gvinum.  I have managed
to get to the point where I can fsck all volumes, however when rebooting
the box would not come back giving me this:

vinum: loaded
vinum: no drives found
Mounting root from ufs:/dev/gvinum/root
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6

Tried to configure the same with gvinum replicating the vinum.conf,
however, still nothing.  You know, when you are creating the vinum
volume in bsdlabel and offsetting it with 16 blocks giving it vinum
format, do you change this for gvinum as well??? my config would not
have it, I can save it?

I also tried the geom_vinum_load=YES in the /boot/loader.conf,
however, should I have vinum.autostart=YES there as well for the
gvinum?? On another occasion I have edited /etc/rc.d/vinum changing the
start_cmd to gvinum start - nothing happened???

Also in the vinum.conf file that I laboriously create each time I try,
is the 

drive Master device /dev/da0s1h 

with the h which is the slice which I create in the bsdlabel or is it
the device name /dev/da0s1a for the root volume?? Non of it worked for
me.

Help me out from here please.  This is supposed to be a production
server and I have spent two days on it already.  

Tomas

--
tp




PRIVACY  CONFIDENTIALITY

This e-mail is private and confidential.  If you have, or suspect you have 
received this message in error please notify the sender as soon as possible and 
remove from your system.  You may not copy, distribute or take any action in 
reliance on it. Thank you for your co-operation.

Please note that whilst best efforts are made, neither the company nor the 
sender accepts any responsibility for viruses and it is your responsibility to 
scan the email and attachments (if any).

This e-mail has been automatically scanned for viruses by MessageLabs.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


vinum volume manager

2005-09-07 Thread Tomas Palfi
Hi All,

I have used the following message as a template, I have exactly the same
problem with vinum, and wonder if someone knows the solution to it. 

---
 
I've been trying to get a bootstrapped vinum volume up and running on a
5.4
release system (generic kernel, minimal install), based this How-to:
http://devel.reinikainen.net/docs/how-to/Vinum/
But I've managed to run into a problem that no amount of Googling,
reading
the archive of this list, or reading the manual seems help me get by.
Basically, I have Vinum configured fine and can successfully run:
 
vinum  create -f /etc/vinum.conf
 
The Vinum volume is all fine and a vinum  list shows no problems.  I
can
also successfully do a fsck on each of the mounts.
 
However, it appears that the vinum config isn't being saved, as
rebooting
the machine can't find the vinum root partition, and after manually
booting
to the pre-vinum root (ufs:ad0s1a) running vinum  list shows no volume
information.
 
During the reboot, vinum appears to load ok, but it can't find the root
(as
shown by the last bit of the dmesg):
 
vinum: loaded
vinum: no drives found
Mounting root from ufs:/dev/vinum/root
setrootbyname failed
ffs_mountroot: can't find rootvp
Root mount failed: 6
 
The relevant config files look like this:
 
/etc/fstab
 
/boot/loader.conf
 
vinum_load=YES
vinum.autostart=YES



I know that David Kelly attempted to rectify the problem gvinum,
however, does the problem still persists with vinum?
 
Many thanks

Tomas

--
tp





PRIVACY  CONFIDENTIALITY

This e-mail is private and confidential.  If you have, or suspect you have 
received this message in error please notify the sender as soon as possible and 
remove from your system.  You may not copy, distribute or take any action in 
reliance on it. Thank you for your co-operation.

Please note that whilst best efforts are made, neither the company nor the 
sender accepts any responsibility for viruses and it is your responsibility to 
scan the email and attachments (if any).

This e-mail has been automatically scanned for viruses by MessageLabs.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Vinum volume manager

2005-09-06 Thread Tomas Palfi
To all,

i've got a server with two identical disks which I would like to set up
as a one way mirror with Vinum volume manager. How do I go about
configuring the entire disk making it bootable mirror of the first one?

I managed to do it in Solstice on Solaris, but Vinum support is
different.

thanks

--
tp




PRIVACY  CONFIDENTIALITY

This e-mail is private and confidential.  If you have, or suspect you have 
received this message in error please notify the sender as soon as possible and 
remove from your system.  You may not copy, distribute or take any action in 
reliance on it. Thank you for your co-operation.

Please note that whilst best efforts are made, neither the company nor the 
sender accepts any responsibility for viruses and it is your responsibility to 
scan the email and attachments (if any).

This e-mail has been automatically scanned for viruses by MessageLabs.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


jdk1.2.2

2001-11-12 Thread Tomas Palfi

all,

trying to build jdk1.2.2 for Freebsd from 'jdk1_2_2-src[1].tar.gz' using a
patch set 'freebsd-jdk122-patches-10[1].tar.gz'.  i have followed the
instructions as in the INSTRUCTIONS file from the patches, and everything
seemed to be ok.  I followed the path one to build a normal JDK1.2.2 (not
the one for testing and development) but when it came to 'build world' it
started complaining about javac not found.  I have appended some of the
specific details on my system as to illustrate the environment.

I have checked where the javac classes are in the file system, and would
like to include the whole path but how would i do that??


I had initially unpacked the source in /usr/local/java  (not in
/usr/local/jdk1.2.2) and set up all the environmental settings accordingly
as follows:

setenv ALT_BOOTDIR /usr/local/java
setenv ALT_MOTIF_DIR /usr/X11R6/share/doc/openmotif
setenv OPENWINHOME /usr/X11R6
unsetenv CLASSPATH
unsetenv JAVA_HOME  
unsetenv JAVA_COMPILER


HAVE_DPS no
HAVE_ODBC no


my installation is without odbs and dps support as it is only attempt no1,
(and i can do without print screen at present time).


thank you
--

Tomas Palfi


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



No Subject

2001-08-30 Thread Tomas Palfi

hi,

i am using Dell PowerEdge 2500 with RAID5 single container of 33.9gb
dangerously dedicated with PERC 3/Di controller.  the problem is that the
system freezes occasionally, however, not on regular basis.  the system may
go down over a quiet period of time when not in heavy use.  i thought it may
have been the ups configuration but, i have now arrieved to a conclusion
that it may be something to do with the battery support for RAID controller.
i have personnally tested the ups on a different server and it is ok (as far
as my knowledge goes). it was doing the same even without the ups - no
powercuts involved!

when the system is rebooted after the freeze, after a while it displays
message on aac0: ** Battery is now fully charged!  i was looking for some
utility program that would offer me some kind of a control over the RAID
battery so i can determine and possibly eliminate another cause of the
freezing.

any reference in mailgroups are leading me to ups support and RAID itself
but nothing mentioning the battery support, with the exception of Dell which
discusses a reconditioning cycle of the batteries, possible affects on the
system and approximate duration and freequencies of reconditioning. (Dell
Man support)

any valid suggestions, discussions welcome
thank you

--
Tomas Palfi

i would love to contribute. perhaps one day!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



telnet

2001-08-17 Thread Tomas Palfi

hi

when telneting my server, the server waits for a relatively long time (about
20s) before it connects me.  it used to work fine and instantly untill i
have tried to ftp particular library sites.  it didn't connect me and i
HUPed the sockets that were trying to connect with kill command (silly thing
to do). i've checked the inetd.conf file and the entry for telnet is 

telnet  stream  tcp nowait  root/usr/libexec/telnetdtelnetd

in fact i haven't made any changes to this file. when checking sockstat -4
for ip-v4 it shows that:

USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN ADDRESS
root telnetd3320 tcp4   xxx.xxx.xxx.xxx:23
xxx.xxx.xxx.xxx:1173
root telnetd3321 tcp4   xxx.xxx.xxx.xxx:23
xxx.xxx.xxx.xxx:1173
and the rest for other sock's

i am able to connect but why it takes such a long time??

is it something to do with the nowait and listening on that port?

would anyone know please
thank you


--
Tomas Palfi


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



cvsuping

2001-08-17 Thread Tomas Palfi

hi

i'am trying to cvsup on 4.3 stable and as i am connected through a firewall
i've been at it for a relatively long time. the messages i was getting were
all related to the firewall configuration (ie. connection refused, not being
able to get to the open at all etc.)  we tweaked our firewall and now i seem
to be getting out with

maranello# cvsup -g -L2 stable-supfile /var/tmp/dest   (** the same happen
when i use -P m)
Parsing supfile stable-supfile
Connecting to cvsup.uk.Freebsd.org
Connected to cvsup.uk.Freebsd.org
Premature EOF from server  (    why is it premature )
Will retry at 16:48:40

when i test the connection to any cvsup-server with

telnet cvsup.uk.freebsd.org 5999 

this is what i get

Trying 195.40.6.42...
Connected to cvsup.plig.net.
Escape character is '^]'.
Connection closed by foreign host.
maranello#

would anyone know please where the problem is??
thank you

--
Tomas Palfi

guys, one day i would love to contribute... perhaps one day





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message