Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Gui hangs….

    Scheduled Pinned Locked Moved webGUI
    10 Posts 6 Posters 4.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sir_lunatic
      last edited by

      Using 1.0.1 built on Sun Oct 29 01:07:16 UTC 2006 on a VIA C3 1000Mhz with embedded on CF

      Have lan on a /23 and opt on a /24 both providing dhcpd

      when trying to view Status/DHCP Leases or Diagnostics/Arp Tables the gui never shows the lists and if I shell in the cpu is at 100%

      any ideas?

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        Can't reproduce that here.

        1 Reply Last reply Reply Quote 0
        • Y
          yoda715
          last edited by

          I also am unable to reproduce this. See if you can reproduce it again and give more details.

          1 Reply Last reply Reply Quote 0
          • S
            sir_lunatic
            last edited by

            It reproduces itself every time. I  even burned a new flash and setup from scratch. I will mention that between the two interfaces there are well over 500 leases so the arp table would be just as large. I will have to go on site and see if this problem exists when accessing these tables locally. Is it possible that php or something is timing out while parsing these tables to view?

            1 Reply Last reply Reply Quote 0
            • J
              jeroen234
              last edited by

              if you have less then 256 mb memorie then php can be killed is memorie runs out

              1 Reply Last reply Reply Quote 0
              • S
                sir_lunatic
                last edited by

                Memory isn't an issue(512Mb) and php isn't dieing. Here is a "top" after I click DHCP Leases:

                Also the resulting browser screen is the pfsense theme with "Diagnostics: DHCP leases" on a white background with no list or table and the browser just spins its wheels forever never timing out. I can click the browser stop and continue my session, but DHCP Leases will never show and neither will the ARP table.

                top

                last pid:  7488;  load averages:  1.55,  0.48,  0.17    up 5+13:02:17  13:51:13
                33 processes:  4 running, 28 sleeping, 1 lock
                CPU states: 81.3% user,  0.0% nice,  4.3% system, 14.4% interrupt,  0.0% idle
                Mem: 68M Active, 10M Inact, 28M Wired, 14M Buf, 373M Free
                Swap:

                PID USERNAME  THR PRI NICE  SIZE    RES STATE    TIME  WCPU COMMAND
                  436 root        1 126    0 36752K 34948K RUN    34:08 65.87% php
                  601 root        1  -8  20  2272K  1784K piperd  8:59  0.05% sh
                  431 root        1  4    0 20896K 18424K accept  3:14  0.00% php
                  434 root        1  4    0 18916K 17040K accept  3:10  0.00% php
                94382 dhcpd      1  96    0  2364K  2032K select  1:51  0.00% dhcpd
                  716 root        1  8  20  1192K  652K nanslp  1:14  0.00% check_reload_st
                  240 root        1  96    0  1360K  972K select  0:49  0.00% syslogd
                  414 root        1  4    0  3944K  3504K kqread  0:43  0.00% lighttpd
                  335 root        1 -58    0  3664K  1548K bpf      0:18  0.00% tcpdump
                  693 _ntp        1  96    0  1256K  964K select  0:08  0.00% ntpd
                95847 root        1 116  20  2836K  2336K select  0:07  0.00% sshd
                  697 root        1  8    0  1304K  984K nanslp  0:03  0.00% cron
                  726 root        1  -8    0  1188K  644K piperd  0:00  0.00% sshlockout_pf
                6996 root        1 -80    0  2348K  1600K RUN      0:00  0.00% top
                6942 root        1 116  20  5568K  2640K select  0:00  0.00% sshd
                  695 root        1  96    0  1296K  972K select  0:00  0.00% ntpd

                1 Reply Last reply Reply Quote 0
                • S
                  sullrich
                  last edited by

                  That top readout looks fine to me.  Everything appears in a non-blocking state.  Not sure on this one.

                  1 Reply Last reply Reply Quote 0
                  • S
                    sir_lunatic
                    last edited by

                    Well after looking at the php code, it appears the ARP table code relies on the dhcp leases file as well, so there is a connection. I am trying to run the diag_dhcp_leases.php via command line php to see what the ouput is, but it wants credentials. Any clues on how to do this? I'm not a php guru.

                    1 Reply Last reply Reply Quote 0
                    • S
                      sir_lunatic
                      last edited by

                      Just looked at /var/log/lighttpd.error.log and see the following message when i access the DHCP Leases:

                      2006-12-12 08:57:56: (server.c.1148) NOTE: a request for /diag_dhcp_leases.php timed out after writing 6679 bytes. We waited 360 seconds. If this a problem increase server.max-write-idle

                      So the php script is dieing on something…..still trying to figure out how to pass user credentials on the commandline.......

                      1 Reply Last reply Reply Quote 0
                      • D
                        databeestje
                        last edited by

                        This page needs serious optimization. It's really slow. It works. But is really slow.

                        I think we are doing some really weird processing here.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.