Re: New approach with removable IDE RAID Backup (was: Tape Question)

2002-08-29 Thread Ulf Rompe
Ramin Motakef [EMAIL PROTECTED] writes:

 Next thing i want to try is to use a dedicated maschine and raid
 over network block devices instead of rsync. Has anyone experience
 with that (speed, reliability)?

I have no experience with it but have read a bit about it. The Problem
with this setup is that you can't just unplug one machine since the
raid partition will hang then. You have to reboot if one networked
partition fails - at least that's what I read several times.

What about using a native distributed filesystem like Inter-Mezzo,
CODA or OpenAFS? I have read a bit about the first two and am planning
to use one of then for a similar constellation.

[x] ulf

-- 
Save the whales - Feed the hungry - Free the mallocs





Re: Click-Trail web-log analyser

2002-06-07 Thread Ulf Rompe

Andreas Rabus [EMAIL PROTECTED] writes:

 I'm looking for a software, preferred free to adapt it, that can
 extract clicktrails from web logs.

modlogan produces some information about trails just by using the
hists from an IP address within a configurable time frame.

[x] ulf

-- 
One of the main causes of the fall of the roman empire was that, lacking zero,
they had no way to indicate successful termination of their C programs.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Click-Trail web-log analyser

2002-06-07 Thread Ulf Rompe
Andreas Rabus [EMAIL PROTECTED] writes:

 I'm looking for a software, preferred free to adapt it, that can
 extract clicktrails from web logs.

modlogan produces some information about trails just by using the
hists from an IP address within a configurable time frame.

[x] ulf

-- 
One of the main causes of the fall of the roman empire was that, lacking zero,
they had no way to indicate successful termination of their C programs.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: File contents

2002-05-06 Thread Ulf Rompe

Craig [EMAIL PROTECTED] writes:

 Could someone help with changing file contents in a specific
 directory with a number of files.

 I used greg to extract the criteria but need something to change it.

Greg should feel a bit abused... Poor guy. 

Or did you mean the program?

 greg - A tool testing framework.

Scary... ;-)

In addition to the other solutions mentioned in this list you can use
rpl:

 rpl is a UN*X text replacement utility. It will replace strings with
 new strings in multiple text files. It can work recursively over
 directories and supports limiting the search to specific file
 suffixes.

It's syntax is as simple as rpl oldstring newstring * but there are
some advanced options available.


Or you can use replace from mysql-server (OK, it is overkill to
install mysql just for getting this tool but maybe you use it anyway).

From the man page:

   replace - A utility program that is used by msql2mysql, but
   that has more general applicability as well. replace changes
   strings in place in files or on the standard input. Uses a
   finite state machine to match longer strings first. Can be used
   to swap strings.

[x] ulf

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: multiple mysql daemons in process

2002-04-23 Thread Ulf Rompe

Patrick Hsieh [EMAIL PROTECTED] writes:

 I have 38 mysqld processes running in one single machine, is it normal?

It depends. If there are frequent queries from more than one process
this is normal and good - if the daemon weren't able to fork it
couldn't handle more than one connect at a time.

In your case it looks perfectly normal:

  11:48:43 up 49 days, 15:11, 34 users,  load average: 0.02, 0.06, 0.00
 275 processes: 265 sleeping, 1 running, 9 zombie, 0 stopped
 CPU states:   3.2% user,   4.3% system,   0.0% nice,  92.5% idle
 Mem:900464K total,   840808K used,59656K free,   277532K buffers
 Swap:   498004K total,   327808K used,   170196K free,   221132K cached

   PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 31277 mysql  9   0  300M  30M  3004 S 0.0  3.5   0:04 mysqld
 31279 mysql  9   0  300M  30M  3004 S 0.0  3.5   0:07 mysqld
[...]

I'm not shure if Mysql spawns child processes or threads, but since
this doesn't make a great difference for the user you can tell that
not each process shown in the list takes up 300 MB for it's own. The
300 MB are the memory that is shared by all instances. You can adjust
the maximum amount of memory that Mysql may take, but in most cases
you shouldn't since Mysql does some usefull things like data caching
with it.

And if you are worried about the relatively small amount of free
physical memory: In any case the system has better uses for the memory
than the user. In your case there are about 271 MB buffer memory that
will be freed if the rest of the system needs more memory.

[x] ulf

-- 
Der Mensch ist immer noch der beste Computer. (John F. Kennedy)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]