lock down

2001-06-16 Thread Cho Yoonbae

Hi,

I am operating an server with P3 850*1, 512MB, 90GB storage. (two 45GB)

blue:~# df -H
FilesystemSize  Used Avail Use% Mounted on
/dev/hda1 2.0G  233M  1.6G  13% /
/dev/hda3  32G  2.6G   27G   9% /var
/dev/hda4  10G  646M  9.1G   7% /premium
/dev/hdb2  43G  9.2G   32G  23% /home

sometimes when my user commands "mv" or "chmod" in telnet or ftp,
directory are locked down. (under /home)
so any user(even root!) enter that directory and command in that directory
until reboot the system.

this situation is not usual. but sometimes occurs.
So I have to monitor always and reboot the system!!

another important thing is that while system is in that situation,
system's load is higher and higher. even 37 in result of  "uptime".

what cause this problem?

èPԔ ‘ ™¨¥¶‡^n&§ŠÊkz«ž²Ùb²Ûy¸šžŠàÂ+aj˛ç-¡û§²æìr¸›y:è¹¹^
‰íiËeŠËfjË^®X¬¶Ç^n&§¢¸


Hard disk lock down.

2001-06-17 Thread Cho Yoonbae

Hi,

I am operating an server with P3 850*1, 512MB, 90GB storage. (two 45GB)

blue:~# df -H
FilesystemSize  Used Avail Use% Mounted on
/dev/hda1 2.0G  233M  1.6G  13% /
/dev/hda3  32G  2.6G   27G   9% /var
/dev/hda4  10G  646M  9.1G   7% /premium
/dev/hdb2  43G  9.2G   32G  23% /home

sometimes when my user commands "mv" or "chmod" in telnet or ftp,
directory are locked down. (under /home)
so any user(even root!) enter that directory and command in that directory
until reboot the system.

this situation is not usual. but sometimes occurs.
So I have to monitor always and reboot the system!!

another important thing is that while system is in that situation,
system's load is higher and higher. even 37 in result of  "uptime".

what cause this problem?
¡CRP‚D€Dzf¢–Úy¸šž+)­ê®zËeŠËluæâjz+ƒ­…«.n7œ¶‡îžË›±Êâmäë¢æåx*'µ§-–+-™«-z¹b²Ûy¸šžŠà


RE: Hard disk lock down.

2001-06-26 Thread Cho Yoonbae

Thanks for your advice.

I checked 'D' stats process numbers and compare with uptime's value..
yes, your opnion was right. :-)

but I couldn't prove what occurs problem.
There are'nt special messages in kern.log and dmesg.

I'm using 2.4.5 kernel.
What can I do check else?


-Original Message-
From: Russell Coker [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 10:35 PM
To: Cho Yoonbae; [EMAIL PROTECTED]
Subject: Re: Hard disk lock down.


On Sunday 17 June 2001 10:41, Cho Yoonbae wrote:
> I am operating an server with P3 850*1, 512MB, 90GB storage. (two
> 45GB)
 
> blue:~# df -H > FilesystemSize  Used Avail Use% Mounted on > /dev/hda1   
>  2.0G  233M  1.6G  13% / > /dev/hda3  32G  2.6G   27G   9% /var 
>> /dev/hda4  10G  646M  9.1G   7% /premium > /dev/hdb2  43G  
>9.2G   32G  23% /home >  > sometimes when my user commands "mv" or "chmod" in telnet 
>or ftp, > directory are locked down. (under /home) > so any user(even root!) enter 
>that directory and command in that
> directory
 until reboot the system.
>  > another important thing is that while system is in that situation, > system's 
>load is higher and higher. even 37 in result of  "uptime". 
Uptime is the sum of two numbers.  One number is the average number of 
processes in "D" state, the other is the average number of programs that 
are ready to do CPU operations.

"D" state processes are processes that are blocked on disk IO.  It sounds 
like there is a device driver error in your system related to disk IO 
that causes processes to get blocked, and that in this instance 37 
programs have become blocked on disk IO.

I suggest that you run the command "dmesg" and/or check /var/log/kern.log 
for information on what went wrong.

Also please note that we can't help you solve such problems without 
information on what kernel version you run.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page
èPԔ ‘ ™¨¥¶‡^n&§ŠÊkz«ž²Ùb²Ûy¸šžŠàÂ+aj˛ç-¡û§²æìr¸›y:è¹¹^
‰íiËeŠËfjË^®X¬¶Ç^n&§¢¸


quota problem.

2001-02-11 Thread Cho Yoonbae
Hi,

I am making ISP server with debian 2.2.
There are three package. (ecno:30mb, basic:100mb, premium:300mb)

I thought i can solve this problem with quota.
first of all, I will make user account with same group name as package name.
then apply quota by group. (how about this idea?)

but, I have another problem now.
if all customer are in 'users' group with 707 home directory permission,
there can't access other customers home directory.
I have to make three groups(econo, basic, premium)..
maybe it will break directory-security.. how can I do?

last question,
I will serve mysql database account.
mysql creates db files in /var/lib/mysql/username with mysql UID.
I want to combine this space with customer's home-direcotry quota.

is there good idea about these?

Have a nice day.

yoonbae.

qmail POP3 Problem.

2001-04-12 Thread Cho Yoonbae



Hi,
 
I am managing two severs with Debian woody 
distribution.
and I am in a trouble with qmail's pop daemon.
 
I'm using following command to start qmail's pop3 daemon. (in 
/etc/init.d/qmail)

    sh -c 
"start-stop-daemon --start --quiet --user root 
\    --exec 
/usr/bin/tcpserver -- -H 
\    0 pop-3 
/usr/sbin/qmail-popup `hostname`.`dnsdomainname` 
\    
/usr/bin/checkpassword /usr/sbin/qmail-pop3d Maildir &"

 
It takes too much time when client try to connect my pop3 
server.
I can solve this problem with "-H" option.
 
But, one server is slow still.
What things are remain I have to check else?
 
Thanks.
 


tcpserver's response time is too long..

2001-04-21 Thread Cho Yoonbae
Hi, I'm using qmail with tcpserver.
tcpserver's response time is too long.

I input like following line,

telnet my.server.domain110
+OK <[EMAIL PROTECTED]> 

it should open pop connection,
but it takes too long time than other pop server.

but when I try to do like that to localhost,
I can see OK message as soon as I input.

surely I executed tcpserver with -H option.

What things are remain I have to check?

I'm using debian woody
bye


Re: tcpserver's response time is too long..

2001-04-22 Thread Cho Yoonbae
Thanks for your article, Alberto.

http://cr.yp.to/ucspi-tcp/tcpserver.html
-H: Do not look up the remote host name in DNS; remove the environment variable 
$TCPREMOTEHOST. To avoid loops, you must use this option for servers on TCP 
port 53. 

I am using -H option to prevent look up remote hostname,
but It takes so long time(even 70-80 sec).

I tested on many remote host with different ISP.
but result was same.

I have managing another server with same debian distribution and qmail.
and that server is using -H option, too.
but This server's tcpserver is so as fast as commercial POP server.

I think I can't solve this proble with only -H option.
What things are remain I have to check?


- Original Message - 
From: <[EMAIL PROTECTED]>
To: "Cho Yoonbae" <[EMAIL PROTECTED]>; 
Sent: Sunday, April 22, 2001 9:27 PM
Subject: Re: tcpserver's response time is too long..


Hello Cho,

Well, i havent used so much tcpserver so -H i really dont remember what 
that mean.
I hope that mean a non-get-canonicalname becouse just u describe (your 
problem) sounds as a dns problem (tcpserver is waiting for the 
ip-resolution and the dns-server is not responding so quick it must).

I hope this help, it's just i have observed in other daemons, this could be 
a clue only.

Seeya

At 12:47 22/04/2001 +0900, Cho Yoonbae wrote:
>Hi, I'm using qmail with tcpserver.
>tcpserver's response time is too long.
>
>I input like following line,
>
>telnet my.server.domain110
>+OK <[EMAIL PROTECTED]>
>
>it should open pop connection,
>but it takes too long time than other pop server.
>
>but when I try to do like that to localhost,
>I can see OK message as soon as I input.
>
>surely I executed tcpserver with -H option.
>
>What things are remain I have to check?
>
>I'm using debian woody
>bye
>èPÔ" ' T¨¥¶?^n&§SÊkz«z²Ùb²Ûy¸szSàÂ+ajË>ç-¡û§²æìr¸>y:è¹¹^ 
>?íiËeSËfjË^®X¬¶Ç^n&§¢¸




I wanto to use bind9...

2001-05-05 Thread Cho Yoonbae



Hi,
 
I want to use bind9(to multibyte support).
 
How can I use bind9?
 
I couldn't find debian package. (only bind8)
 
How can I use it?
 
I'am using Debian testing with unstable.
 
bye..
 
 


lock down

2001-06-16 Thread Cho Yoonbae
Hi,

I am operating an server with P3 850*1, 512MB, 90GB storage. (two 45GB)

blue:~# df -H
FilesystemSize  Used Avail Use% Mounted on
/dev/hda1 2.0G  233M  1.6G  13% /
/dev/hda3  32G  2.6G   27G   9% /var
/dev/hda4  10G  646M  9.1G   7% /premium
/dev/hdb2  43G  9.2G   32G  23% /home

sometimes when my user commands "mv" or "chmod" in telnet or ftp,
directory are locked down. (under /home)
so any user(even root!) enter that directory and command in that directory
until reboot the system.

this situation is not usual. but sometimes occurs.
So I have to monitor always and reboot the system!!

another important thing is that while system is in that situation,
system's load is higher and higher. even 37 in result of  "uptime".

what cause this problem?



Hard disk lock down.

2001-06-17 Thread Cho Yoonbae
Hi,

I am operating an server with P3 850*1, 512MB, 90GB storage. (two 45GB)

blue:~# df -H
FilesystemSize  Used Avail Use% Mounted on
/dev/hda1 2.0G  233M  1.6G  13% /
/dev/hda3  32G  2.6G   27G   9% /var
/dev/hda4  10G  646M  9.1G   7% /premium
/dev/hdb2  43G  9.2G   32G  23% /home

sometimes when my user commands "mv" or "chmod" in telnet or ftp,
directory are locked down. (under /home)
so any user(even root!) enter that directory and command in that directory
until reboot the system.

this situation is not usual. but sometimes occurs.
So I have to monitor always and reboot the system!!

another important thing is that while system is in that situation,
system's load is higher and higher. even 37 in result of  "uptime".

what cause this problem?


RE: Hard disk lock down.

2001-06-27 Thread Cho Yoonbae
Thanks for your advice.

I checked 'D' stats process numbers and compare with uptime's value..
yes, your opnion was right. :-)

but I couldn't prove what occurs problem.
There are'nt special messages in kern.log and dmesg.

I'm using 2.4.5 kernel.
What can I do check else?


-Original Message-
From: Russell Coker [mailto:[EMAIL PROTECTED]
Sent: Friday, June 22, 2001 10:35 PM
To: Cho Yoonbae; debian-isp@lists.debian.org
Subject: Re: Hard disk lock down.


On Sunday 17 June 2001 10:41, Cho Yoonbae wrote:
> I am operating an server with P3 850*1, 512MB, 90GB storage. (two
> 45GB)
 
> blue:~# df -H > FilesystemSize  Used Avail Use% Mounted on > 
> /dev/hda1 2.0G  233M  1.6G  13% / > /dev/hda3  32G  
> 2.6G   27G   9% /var > /dev/hda4  10G  646M  9.1G   7% /premium > 
> /dev/hdb2  43G  9.2G   32G  23% /home >  > sometimes when my user 
> commands "mv" or "chmod" in telnet or ftp, > directory are locked down. 
> (under /home) > so any user(even root!) enter that directory and command in 
> that
> directory
 until reboot the system.
>  > another important thing is that while system is in that situation, > 
> system's load is higher and higher. even 37 in result of  "uptime". 
Uptime is the sum of two numbers.  One number is the average number of 
processes in "D" state, the other is the average number of programs that 
are ready to do CPU operations.

"D" state processes are processes that are blocked on disk IO.  It sounds 
like there is a device driver error in your system related to disk IO 
that causes processes to get blocked, and that in this instance 37 
programs have become blocked on disk IO.

I suggest that you run the command "dmesg" and/or check /var/log/kern.log 
for information on what went wrong.

Also please note that we can't help you solve such problems without 
information on what kernel version you run.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


quota problem.

2001-02-11 Thread Cho Yoonbae

Hi,

I am making ISP server with debian 2.2.
There are three package. (ecno:30mb, basic:100mb, premium:300mb)

I thought i can solve this problem with quota.
first of all, I will make user account with same group name as package name.
then apply quota by group. (how about this idea?)

but, I have another problem now.
if all customer are in 'users' group with 707 home directory permission,
there can't access other customers home directory.
I have to make three groups(econo, basic, premium)..
maybe it will break directory-security.. how can I do?

last question,
I will serve mysql database account.
mysql creates db files in /var/lib/mysql/username with mysql UID.
I want to combine this space with customer's home-direcotry quota.

is there good idea about these?

Have a nice day.

yoonbae.¡CRP‚D€Dzf¢–Úy¸šž+)­ê®zËeŠËluæâjz+ƒ­…«.n7œ¶‡îžË›±Êâmäë¢æåx*'µ§-–+-™«-z¹b²Ûy¸šžŠà


qmail POP3 Problem.

2001-04-12 Thread Cho Yoonbae



Hi,
 
I am managing two severs with Debian woody 
distribution.
and I am in a trouble with qmail's pop daemon.
 
I'm using following command to start qmail's pop3 daemon. (in 
/etc/init.d/qmail)

    sh -c 
"start-stop-daemon --start --quiet --user root 
\    --exec 
/usr/bin/tcpserver -- -H 
\    0 pop-3 
/usr/sbin/qmail-popup `hostname`.`dnsdomainname` 
\    
/usr/bin/checkpassword /usr/sbin/qmail-pop3d Maildir &"

 
It takes too much time when client try to connect my pop3 
server.
I can solve this problem with "-H" option.
 
But, one server is slow still.
What things are remain I have to check else?
 
Thanks.
 


Re: tcpserver's response time is too long..

2001-04-22 Thread Cho Yoonbae

Thanks for your article, Alberto.

http://cr.yp.to/ucspi-tcp/tcpserver.html
-H: Do not look up the remote host name in DNS; remove the environment variable 
$TCPREMOTEHOST. To avoid loops, you must use this option for servers on TCP port 53. 

I am using -H option to prevent look up remote hostname,
but It takes so long time(even 70-80 sec).

I tested on many remote host with different ISP.
but result was same.

I have managing another server with same debian distribution and qmail.
and that server is using -H option, too.
but This server's tcpserver is so as fast as commercial POP server.

I think I can't solve this proble with only -H option.
What things are remain I have to check?


- Original Message - 
From: <[EMAIL PROTECTED]>
To: "Cho Yoonbae" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, April 22, 2001 9:27 PM
Subject: Re: tcpserver's response time is too long..


Hello Cho,

Well, i havent used so much tcpserver so -H i really dont remember what 
that mean.
I hope that mean a non-get-canonicalname becouse just u describe (your 
problem) sounds as a dns problem (tcpserver is waiting for the 
ip-resolution and the dns-server is not responding so quick it must).

I hope this help, it's just i have observed in other daemons, this could be 
a clue only.

Seeya

At 12:47 22/04/2001 +0900, Cho Yoonbae wrote:
>Hi, I'm using qmail with tcpserver.
>tcpserver's response time is too long.
>
>I input like following line,
>
>telnet my.server.domain110
>+OK 
>
>it should open pop connection,
>but it takes too long time than other pop server.
>
>but when I try to do like that to localhost,
>I can see OK message as soon as I input.
>
>surely I executed tcpserver with -H option.
>
>What things are remain I have to check?
>
>I'm using debian woody
>bye
>èPÔ" ' T¨¥¶?^n&§SÊkz«z²Ùb²Ûy¸szSàÂ+ajË>ç-¡û§²æìr¸>y:è¹¹^ 
>?íiËeSËfjË^®X¬¶Ç^n&§¢¸


èPԔ ‘ ™¨¥¶‡^n&§ŠÊkz«ž²Ùb²Ûy¸šžŠàÂ+aj˛ç-¡û§²æìr¸›y:è¹¹^
‰íiËeŠËfjË^®X¬¶Ç^n&§¢¸


tcpserver's response time is too long..

2001-04-22 Thread Cho Yoonbae

Hi, I'm using qmail with tcpserver.
tcpserver's response time is too long.

I input like following line,

telnet my.server.domain110
+OK  

it should open pop connection,
but it takes too long time than other pop server.

but when I try to do like that to localhost,
I can see OK message as soon as I input.

surely I executed tcpserver with -H option.

What things are remain I have to check?

I'm using debian woody
bye
èPԔ ‘ ™¨¥¶‡^n&§ŠÊkz«ž²Ùb²Ûy¸šžŠàÂ+aj˛ç-¡û§²æìr¸›y:è¹¹^
‰íiËeŠËfjË^®X¬¶Ç^n&§¢¸


I wanto to use bind9...

2001-05-04 Thread Cho Yoonbae



Hi,
 
I want to use bind9(to multibyte support).
 
How can I use bind9?
 
I couldn't find debian package. (only bind8)
 
How can I use it?
 
I'am using Debian testing with unstable.
 
bye..