[rt-users] rt2-to-rt3-v1.13 (.12?) Out of memory!

Lukas Maly malyl at col.cz
Fri Jul 11 09:30:09 EDT 2003


Hi RT_users

Im must recompile FreeBSD kernel with this options:

# TUNNING
options         MAXDSIZ=2147483648
options         MAXSSIZ=2147483648
options         DFLDSIZ=2147483648

Now i allow to proces 2Gb :-)

# limits
Resource limits (current):
  cputime          infinity secs
  filesize         infinity kb
  datasize          2097152 kb
  stacksize         2097152 kb
  coredumpsize     infinity kb
  memoryuse        infinity kb
  memorylocked     infinity kb
  maxprocesses         3704
  openfiles            7408
  sbsize           infinity bytes
  vmemoryuse       infinity kb

My big database (1.8Gb) migrate to dump files.

# top
  PID USERNAME  PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
  287 root       37   0  1221M   505M RUN    910:13 76.45% 76.45% /usr/bin/perl -w ./rt-2.0-to-dumpfile vincent-dump

# swapinfo
Device          1K-blocks     Used    Avail Capacity  Type
/dev/ar0s1b       1048448   922268   126180    88%    Interleaved

Thank for all asistance.

Processing info:

 Jul 10 19:17 tickets-0
...
...
 Jul 11 15:22 tickets-81000

Exporting ticket 81723.........
Exporting ticket 81724.......
Exporting ticket 81725........
Exporting ticket 81726...........
Exporting ticket 81727..

RUNNING RUNNING RUNNING RUNNING.

mysql> select count(id) from Tickets;
+-----------+
| count(id) |
+-----------+
|    106276 |
+-----------+
1 row in set (0.00 sec)

Thank

malyl

On Wed, 2 Jul 2003, Phil Homewood wrote:

> Date: Wed, 2 Jul 2003 21:49:44 +1000
> From: Phil Homewood <pdh at snapgear.com>
> To: rt-users at lists.fsck.com
> Subject: Re: [rt-users] rt2-to-rt3-v1.13 (.12?) Out of memory!
>
> Daniel Foster wrote:
> > I'm currently working on a similar setup, and ended up giving it 5GB of
> > swap space to play with.  It doesn't fill it up and complains of lack of
> > memory.
>
> Note, if you're using FreeBSD with a stock kernel, you won't be
> able to use more than 512Mb in a single process. Setting the
> kern.maxdsiz tunable in /boot/loader.conf (from memory) is
> the easiest way around this.
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
>



More information about the rt-users mailing list