Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Is it normal for minivend to spawn several processes? (a BSD issue?)



******    message to minivend-users from Mike Heins <mikeh@minivend.com>     ******

Quoting Mark Stosberg (mark@summersault.com):
> 
> 
> Hello! I'm running MV 4.04 on FreeBSD 3.1 and I am having some severe
> performance problems on a basically empty box. Since I generally hear
> that Minivend is very fast, I'm assuming that there is some
> configuration in my environment that is wack. With this project, I'm
> just using Minivend's default flat-file system, so I can take Postgres
> out of the equation here. Just now I was waiting for the 'simple' login
> page to load and it took _several_minutes_. Using 'top' I could see that
> minivend was doing something during that time, but I couldn't tell what.
> Frequently there were 2, 3, and 4 minivend processes running at once.
> Here some captures of that:
> 
>  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
> 56565 softskul  29   0  1600K   436K RUN      0:02  3.59%  0.34% top
> 56580 mvend    -18   0 15304K  3064K swread   0:00  0.99%  0.29% perl
> 56572 mvend    -18   0 15304K  5488K swread   0:01  0.24%  0.20% perl
> 56579 mvend    -22   0 15304K  4624K vmpfw    0:00  0.66%  0.20% perl
> 56577 mvend    -18   0 15304K  3664K swread   0:00  0.27%  0.10% perl
>    98 root       2 -12  1040K   164K select  10:55  0.00%  0.00% xntpd
>    91 root       2   0   820K     0K select   1:30  0.00%  0.00% <syslogd>
> 

I don't know why this is happening. It could if you were sourcing 3 frames
from Minivend.....

>  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
> 56568 mvend    -18   0 15304K  5668K swread   0:01  0.75%  0.59% perl
> 56575 mvend    -18   0 15304K  1900K swread   0:00  1.40%  0.20% perl
> 56573 softskul   2   0   944K   592K sbwait   0:00  0.81%  0.15% popper
> 56574 mvend    -18   0 15304K  1640K swread   0:00  0.27%  0.05% perl
> 

You say "basically empty box". But without the output of vmstat or the
your complete "top" header, we cannot see how much memory you have and
where swap is sitting.

If you are using a 133MHz Pentium with 16MB of memory, then the above wouldn't
surprise me. Without some baseline to know what your box is, no one can
get a sense of your problem.

-- 
Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>

Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: