On Thu, 17 Dec 1998, Steve Ball wrote:

> I am running Linuxconf 1.13 (subrev 10) on Debian 2.0 and have had no
> problems running it from the command line but I have found that the web
> interface is a little unreliable.
> 
> The web interface normally works OK but when the system has been heavily
> used with the web interface I start to get some problems, although the
> telnet access still works fine.

I think there is a leak (a file descriptor leak) in linuxconf and this
shows up a little more in html. I can replicate this though.
 
> At the moment I can get into the main menu OK and my login is accepted but
> if I select any of the menu items such as 'Networking' or 'User accounts'
> the web browser hangs. I have also had a number of occasions where Linuxconf
> has complained that I am trying to access pages from an earlier release, but
> when I try again later it works.
> 
> I have a '7473  ?  S    0:00  \_ linuxconf --http' process in my ps listing
> that I suspect is a hung linuxconf web interface. Is anyone else having
> these problems?
> 
> I understand that most of the Linuxconf operations can be driven from
> command line programs, is there a list of commands and options? I would be
> happy to look at writing an Apache/PHP3 front end.

No this is not the case. There are several command line interface allowing
one to control various things, but this is not powerful enough to "edit"
things. I mean, it allows one to set something into a specific state, but
not to retrieve, edit and set the state easily. Further, it covers a very
small part of linuxconf functionality. So you won't go very far with a php
interface.

If you can duplicate this problem often, I suggest the following steps to
try to find out what is wrong.

        When the process is unresponsive, check in /proc/PID/fd to see how
        many file handles are opened.

        Use gdb on the running process to find out what it is doing

                gdb /bin/linuxconf PID

To use GDB, you will need an unstripped linuxconf binary. To get this, you
will need to recompile linuxconf yourself as the binary distribution
contain a strip binary.

Keep me posted!

---------------------------------------------------------
Jacques Gelinas <[EMAIL PROTECTED]>
Check out Linuxconf at http://www.solucorp.qc.ca/linuxconf
New modules: mgettyconf, managerpm



---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]

Reply via email to