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

Webconfigurator Hangs

Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
29 Posts 10 Posters 10.2k 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.
  • D
    Deimos
    last edited by May 4, 2012, 12:19 PM

    I'm just testing the DEVELOPMENT snapshot on my machines, so far it's all fine.
    I just noticed a problem and probably it's just for me. When i try to edit my PPP interfaces the webconfig hangs and i need to kill all the processes on the ssh shell.

    The antilockout on the LAN is uncheched.

    Here my dmesg

    Copyright (c) 1992-2012 The FreeBSD Project.
    Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
            The Regents of the University of California. All rights reserved.
    FreeBSD is a registered trademark of The FreeBSD Foundation.
    FreeBSD 8.3-RELEASE #1: Wed May  2 09:33:08 EDT 2012
        root@FreeBSD_8.3_pfSense_2.1.snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_SMP.8 i386
    Timecounter "i8254" frequency 1193182 Hz quality 0
    CPU: Intel(R) Atom(TM) CPU  330   @ 1.60GHz (1599.20-MHz 686-class CPU)
      Origin = "GenuineIntel"  Id = 0x106c2  Family = 6  Model = 1c  Stepping = 2
      Features=0xbfe9fbff <fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,htt,tm,pbe>Features2=0x40e31d <sse3,dtes64,mon,ds_cpl,tm2,ssse3,cx16,xtpr,pdcm,movbe>AMD Features=0x20100000 <nx,lm>AMD Features2=0x1 <lahf>TSC: P-state invariant
    real memory  = 1073741824 (1024 MB)
    avail memory = 1017614336 (970 MB)
    ACPI APIC Table: <intel  d945glf2="">FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
    FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads
     cpu0 (BSP): APIC ID:  0
     cpu1 (AP/HT): APIC ID:  1
     cpu2 (AP): APIC ID:  2
     cpu3 (AP/HT): APIC ID:  3
    ioapic0: Changing APIC ID to 2
    ioapic0 <version 2.0="">irqs 0-23 on motherboard
    wlan: mac acl policy registered
    ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
    ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
    module_register_init: MOD_LOAD (ipw_bss_fw, 0xc07a9370, 0) error 1
    ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
    ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
    module_register_init: MOD_LOAD (ipw_ibss_fw, 0xc07a9410, 0) error 1
    ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
    ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
    module_register_init: MOD_LOAD (ipw_monitor_fw, 0xc07a94b0, 0) error 1
    kbd1 at kbdmux0
    cryptosoft0: <software crypto="">on motherboard
    padlock0: No ACE support.
    acpi0: <intel d945glf2="">on motherboard
    acpi0: [ITHREAD]
    acpi0: Power Button (fixed)
    Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
    acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
    cpu0: <acpi cpu="">on acpi0
    cpu1: <acpi cpu="">on acpi0
    cpu2: <acpi cpu="">on acpi0
    cpu3: <acpi cpu="">on acpi0
    acpi_button0: <sleep button="">on acpi0
    pcib0: <acpi host-pci="" bridge="">port 0xcf8-0xcff on acpi0
    pci0: <acpi pci="" bus="">on pcib0
    vgapci0: <vga-compatible display="">port 0x30e0-0x30e7 mem 0x48300000-0x4837ffff,0x40000000-0x47ffffff,0x48380000-0x4839ffff irq 16 at device 2.0 on pci0
    agp0: <intel 82945g="" (945g="" gmch)="" svga="" controller="">on vgapci0
    agp0: aperture size is 128M, detected 7932k stolen memory
    pcib1: <acpi pci-pci="" bridge="">at device 28.0 on pci0
    pci1: <acpi pci="" bus="">on pcib1
    re0: <realtek 8111="" 8168="" b="" c="" cp="" d="" dp="" e="" f="" pcie="" gigabit="" ethernet="">port 0x2000-0x20ff mem 0x48200000-0x48200fff,0x48000000-0x4800ffff irq 16 at device 0.0 on pci1
    re0: Using 1 MSI-X message
    re0: Chip rev. 0x3c000000
    re0: MAC rev. 0x00400000
    miibus0: <mii bus="">on re0
    rgephy0: <rtl8169s 8110s="" 8211b="" media="" interface="">PHY 1 on miibus0
    rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
    re0: [ITHREAD]
    pcib2: <acpi pci-pci="" bridge="">at device 28.2 on pci0
    pci2: <acpi pci="" bus="">on pcib2
    pcib3: <acpi pci-pci="" bridge="">at device 28.3 on pci0
    pci3: <acpi pci="" bus="">on pcib3
    uhci0: <intel 82801g="" (ich7)="" usb="" controller="" usb-a="">port 0x3080-0x309f irq 23 at device 29.0 on pci0
    uhci0: [ITHREAD]
    uhci0: LegSup = 0x2f00
    usbus0: <intel 82801g="" (ich7)="" usb="" controller="" usb-a="">on uhci0
    uhci1: <intel 82801g="" (ich7)="" usb="" controller="" usb-b="">port 0x3060-0x307f irq 19 at device 29.1 on pci0
    uhci1: [ITHREAD]
    uhci1: LegSup = 0x2f00
    usbus1: <intel 82801g="" (ich7)="" usb="" controller="" usb-b="">on uhci1
    uhci2: <intel 82801g="" (ich7)="" usb="" controller="" usb-c="">port 0x3040-0x305f irq 18 at device 29.2 on pci0
    uhci2: [ITHREAD]
    uhci2: LegSup = 0x2f00
    usbus2: <intel 82801g="" (ich7)="" usb="" controller="" usb-c="">on uhci2
    uhci3: <intel 82801g="" (ich7)="" usb="" controller="" usb-d="">port 0x3020-0x303f irq 16 at device 29.3 on pci0
    uhci3: [ITHREAD]
    uhci3: LegSup = 0x2f00
    usbus3: <intel 82801g="" (ich7)="" usb="" controller="" usb-d="">on uhci3
    ehci0: <intel 82801gb="" r="" (ich7)="" usb="" 2.0="" controller="">mem 0x483a0000-0x483a03ff irq 23 at device 29.7 on pci0
    ehci0: [ITHREAD]
    usbus4: EHCI version 1.0
    usbus4: <intel 82801gb="" r="" (ich7)="" usb="" 2.0="" controller="">on ehci0
    pcib4: <acpi pci-pci="" bridge="">at device 30.0 on pci0
    pci4: <acpi pci="" bus="">on pcib4
    rl0: <d-link 10="" dfe-530tx+="" 100basetx="">port 0x1000-0x10ff mem 0x48100000-0x481000ff irq 21 at device 0.0 on pci4
    miibus1: <mii bus="">on rl0
    rlphy0: <realtek internal="" media="" interface="">PHY 0 on miibus1
    rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    rl0: [ITHREAD]
    isab0: <pci-isa bridge="">at device 31.0 on pci0
    isa0: <isa bus="">on isab0
    atapci0: <intel ich7="" udma100="" controller="">port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30b0-0x30bf irq 18 at device 31.1 on pci0
    ata0: <ata channel="">at channel 0 on atapci0
    ata0: [ITHREAD]
    atapci1: <intel ich7="" sata300="" controller="">port 0x30c8-0x30cf,0x30ec-0x30ef,0x30c0-0x30c7,0x30e8-0x30eb,0x30a0-0x30af irq 19 at device 31.2 on pci0
    atapci1: [ITHREAD]
    ata2: <ata channel="">at channel 0 on atapci1
    ata2: [ITHREAD]
    ata3: <ata channel="">at channel 1 on atapci1
    ata3: [ITHREAD]
    pci0: <serial bus,="" smbus="">at device 31.3 (no driver attached)
    atrtc0: <at realtime="" clock="">port 0x70-0x71,0x74-0x77 irq 8 on acpi0
    ppc0: <parallel port="">port 0x378-0x37f irq 7 on acpi0
    ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
    ppc0: [ITHREAD]
    ppbus0: <parallel port="" bus="">on ppc0
    plip0: <plip network="" interface="">on ppbus0
    plip0: [ITHREAD]
    lpt0: <printer>on ppbus0
    lpt0: [ITHREAD]
    lpt0: Interrupt-driven port
    ppi0: <parallel i="" o="">on ppbus0
    uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
    uart0: [FILTER]
    pmtimer0 on isa0
    orm0: <isa option="" rom="">at iomem 0xcb000-0xcbfff pnpid ORM0000 on isa0
    sc0: <system console="">at flags 0x100 on isa0
    sc0: VGA <16 virtual consoles, flags=0x300>
    vga0: <generic isa="" vga="">at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
    atkbdc0: <keyboard controller="" (i8042)="">at port 0x60,0x64 on isa0
    atkbd0: <at keyboard="">irq 1 on atkbdc0
    kbd0 at atkbd0
    atkbd0: [GIANT-LOCKED]
    atkbd0: [ITHREAD]
    p4tcc0: <cpu frequency="" thermal="" control="">on cpu0
    p4tcc1: <cpu frequency="" thermal="" control="">on cpu1
    p4tcc2: <cpu frequency="" thermal="" control="">on cpu2
    p4tcc3: <cpu frequency="" thermal="" control="">on cpu3
    RTC BIOS diagnostic error 80 <clock_battery>Timecounters tick every 1.000 msec
    IPsec: Initialized Security Association Processing.
    usbus0: 12Mbps Full Speed USB v1.0
    usbus1: 12Mbps Full Speed USB v1.0
    usbus2: 12Mbps Full Speed USB v1.0
    usbus3: 12Mbps Full Speed USB v1.0
    usbus4: 480Mbps High Speed USB v2.0
    ugen0.1: <intel>at usbus0
    uhub0: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus0
    ugen1.1: <intel>at usbus1
    uhub1: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus1
    ugen2.1: <intel>at usbus2
    uhub2: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus2
    ugen3.1: <intel>at usbus3
    uhub3: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus3
    ugen4.1: <intel>at usbus4
    uhub4: <intel 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr="">on usbus4
    acd0: DVDR <pioneer dvd-rw="" dvr-107d="" 1.21="">at ata0-slave UDMA33
    ad4: 194481MB <maxtor 6l200m0="" banc1e00="">at ata2-master UDMA100 SATA
    SMP: AP CPU #1 Launched!
    SMP: AP CPU #3 Launched!
    SMP: AP CPU #2 Launched!
    Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0
    uhub0: 2 ports with 2 removable, self powered
    uhub1: 2 ports with 2 removable, self powered
    uhub2: 2 ports with 2 removable, self powered
    uhub3: 2 ports with 2 removable, self powered
    Root mount waiting for: usbus4
    Root mount waiting for: usbus4
    uhub4: 8 ports with 8 removable, self powered
    ugen4.2: <huawei technology="">at usbus4
    u3g0: <huawei 0="" 2="" technology="" huawei="" mobile,="" class="" 0,="" rev="" 2.00="" 0.00,="" addr="">on usbus4
    u3g0: Found 2 ports.
    umass0: <huawei 0="" 2="" technology="" huawei="" mobile,="" class="" 0,="" rev="" 2.00="" 0.00,="" addr="">on usbus4
    umass0:  SCSI over Bulk-Only; quirks = 0x0000
    umass0:0:0:-1: Attached to scbus0
    umass1: <huawei 0="" 2="" technology="" huawei="" mobile,="" class="" 0,="" rev="" 2.00="" 0.00,="" addr="">on usbus4
    umass1:  SCSI over Bulk-Only; quirks = 0x0000
    umass1:1:1:-1: Attached to scbus1
    Trying to mount root from ufs:/dev/ad4s1a
    (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
    (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
    (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
    (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
    cd0 at umass-sim0 bus 0 scbus0 target 0 lun 0
    cd0: <huawei mass="" storage="" 2.31="">Removable CD-ROM SCSI-2 device
    cd0: 40.000MB/s transfers
    cd0: Attempt to query device size failed: NOT READY, Medium not present
    (probe1:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
    (probe1:umass-sim1:1:0:0): CAM status: SCSI Status Error
    (probe1:umass-sim1:1:0:0): SCSI status: Check Condition
    (probe1:umass-sim1:1:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
    da0 at umass-sim1 bus 1 scbus1 target 0 lun 0
    da0: <huawei mmc="" storage="" 2.31="">Removable Direct Access SCSI-2 device
    da0: 40.000MB/s transfers
    da0: Attempt to query device size failed: NOT READY, Medium not present
    pflog0: promiscuous mode enabled
    rl0: link state changed to UP
    re0: link state changed to UP</huawei></huawei></huawei></huawei></huawei></huawei></maxtor></pioneer></intel></intel></intel></intel></intel></intel></intel></intel></intel></intel></clock_battery></cpu></cpu></cpu></cpu></at></keyboard></generic></system></isa></parallel></printer></plip></parallel></parallel></at></serial></ata></ata></intel></ata></intel></isa></pci-isa></realtek></mii></d-link></acpi></acpi></intel></intel></intel></intel></intel></intel></intel></intel></intel></intel></acpi></acpi></acpi></acpi></rtl8169s></mii></realtek></acpi></acpi></intel></vga-compatible></acpi></acpi></sleep></acpi></acpi></acpi></acpi></intel></software></version></intel ></lahf></nx,lm></sse3,dtes64,mon,ds_cpl,tm2,ssse3,cx16,xtpr,pdcm,movbe></fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,htt,tm,pbe> 
    

    I also tried a clean install on that machine, but again when i try to add a PPP interface the WebConfig will hang.

    Anything that i can do to solve this, or it's a fact related to the hardware of that machine?

    Thanks

    1 Reply Last reply Reply Quote 0
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by May 4, 2012, 11:41 PM

      Get the output from the shell of

      ps uxawww
      

      Before you edit, and then again when it hangs

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • D
        Deimos
        last edited by May 5, 2012, 1:28 PM

        Before:

        USER     PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED      TIME COMMAND
        root      11 398.6  0.0     0    32  ??  RL   Fri01PM 6153:28.27 [idle]
        root   18520  0.7  3.0 58832 30268  ??  S    Fri01PM   0:31.29 /usr/local/bin/php
        root   18442  0.1  2.4 58832 24528  ??  S    Fri01PM   0:06.80 /usr/local/bin/php
        root       0  0.0  0.0     0    56  ??  DLs  Fri01PM   0:00.30 [kernel]
        root       1  0.0  0.0  1888   492  ??  ILs  Fri01PM   0:00.05 /sbin/init --
        root       2  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.01 [g_event]
        root       3  0.0  0.0     0     8  ??  DL   Fri01PM   0:04.27 [g_up]
        root       4  0.0  0.0     0     8  ??  DL   Fri01PM   0:03.28 [g_down]
        root       5  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.00 [crypto]
        root       6  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.00 [crypto returns]
        root       7  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.00 [sctp_iterator]
        root       8  0.0  0.0     0     8  ??  DL   Fri01PM   0:01.03 [pfpurge]
        root       9  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.00 [xpt_thrd]
        root      10  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.00 [audit]
        root      12  0.0  0.0     0   192  ??  WL   Fri01PM   3:40.49 [intr]
        root      13  0.0  0.0     0    32  ??  DL   Fri01PM   0:02.90 [ng_queue]
        root      14  0.0  0.0     0     8  ??  DL   Fri01PM   0:09.84 [yarrow]
        root      15  0.0  0.0     0   168  ??  DL   Fri01PM   0:23.58 [usb]
        root      16  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.13 [pagedaemon]
        root      17  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.00 [vmdaemon]
        root      18  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.00 [pagezero]
        root      19  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.19 [idlepoll]
        root      20  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.57 [bufdaemon]
        root      21  0.0  0.0     0     8  ??  DL   Fri01PM   0:07.28 [syncer]
        root      22  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.65 [vnlru]
        root      23  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.67 [softdepflush]
        root      39  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.80 [md0]
        root     244  0.0  0.1  3416  1160  ??  INs  Fri01PM   0:00.09 /usr/local/sbin/check_reload_status
        root     246  0.0  0.1  3416  1004  ??  IN   Fri01PM   0:00.00 check_reload_status: Monitoring daemon of check_reload_status
        root     256  0.0  0.2  3936  2264  ??  Is   Fri01PM   0:00.01 /sbin/devd
        root     953  0.0  0.2  3708  1560  ??  SN   12:21AM   0:10.38 /bin/sh /var/db/rrd/updaterrd.sh
        root    6577  0.0  0.3  5344  3072  ??  Is   Fri01PM   0:00.01 /usr/sbin/sshd
        root    6878  0.0  0.1  3328   988  ??  Is   Fri01PM   0:00.00 /usr/local/bin/minicron 240 /var/run/ping_hosts.pid /usr/local/bin/ping_hosts.sh
        root    7458  0.0  0.1  3328  1036  ??  I    Fri01PM   0:00.11 minicron: helper /usr/local/bin/ping_hosts.sh  (minicron)
        root    7548  0.0  0.1  3328   988  ??  Is   Fri01PM   0:00.00 /usr/local/bin/minicron 3600 /var/run/expire_accounts.pid /etc/rc.expireaccounts
        root    7811  0.0  0.1  3328  1036  ??  I    Fri01PM   0:00.01 minicron: helper /etc/rc.expireaccounts  (minicron)
        root    7948  0.0  0.1  3328   988  ??  Is   Fri01PM   0:00.00 /usr/local/bin/minicron 86400 /var/run/update_alias_url_data.pid /etc/rc.update_alias_url_data
        root    8358  0.0  0.1  3328  1036  ??  I    Fri01PM   0:00.00 minicron: helper /etc/rc.update_alias_url_data  (minicron)
        root   10856  0.0  0.1  4568  1204  ??  Is   Fri01PM   0:00.02 /usr/local/sbin/sshlockout_pf 15
        root   11672  0.0  0.1  3424  1512  ??  INs  12:21AM   0:00.01 ntpd: [priv] (ntpd)
        _ntp   11832  0.0  0.2  3424  1592  ??  SN   12:21AM   0:00.32 ntpd: ntp engine (ntpd)
        root   11840  0.0  0.2  4976  2536  ??  Ss   Fri01PM   0:09.52 /usr/sbin/syslogd -c -c -l /var/dhcpd/var/run/log -f /var/etc/syslog.conf
        _ntp   11854  0.0  0.2  3424  1536  ??  IN   12:21AM   0:00.00 ntpd: dns engine (ntpd)
        root   12432  0.0  0.1  3448  1408  ??  Is   Fri01PM   0:00.18 /usr/sbin/inetd -wW -R 0 -a 127.0.0.1 /var/etc/inetd.conf
        root   19428  0.0  0.1  1576   772  ??  SN    3:29PM   0:00.00 sleep 60
        root   19758  0.0  0.4  8956  4348  ??  Ss   12:21AM   0:00.86 /usr/local/sbin/mpd5 -b -k -d /var/etc -f mpd_wan.conf -p /var/run/pppoe_wan.pid -s ppp pppoeclient
        root   20507  0.0  0.4  6720  3888  ??  S    Fri01PM   0:02.98 /usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf
        root   21100  0.0  1.4 56784 14464  ??  I    Fri01PM   0:00.18 /usr/local/bin/php
        root   23729  0.0  0.1  3328  1112  ??  Is   12:21AM   0:00.00 /usr/local/sbin/dhcpleases -l /var/dhcpd/var/db/dhcpd.leases -d matrix -p /var/run/dnsmasq.pid -h /var/etc/hosts
        nobody 25264  0.0  0.3  5576  2620  ??  I    12:21AM   0:00.49 /usr/local/sbin/dnsmasq --local-ttl 1 --all-servers --rebind-localhost-ok --stop-dns-rebind --dns-forward-max=5000 --cache-size=10000 --dhcp-hostsfile=/var/etc/hosts
        root   25524  0.0  1.4 56784 14464  ??  I    Fri01PM   0:00.18 /usr/local/bin/php
        dhcpd  27881  0.0  0.6  8448  5968  ??  Ss   12:21AM   0:02.78 /usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid re0
        root   31427  0.0  0.2  4584  1944  ??  IN   12:26AM   0:00.34 /usr/local/bin/rrdtool -
        root   31653  0.0  1.4 56784 14464  ??  I    Fri01PM   0:00.16 /usr/local/bin/php
        root   34339  0.0  1.4 56784 14464  ??  I    Fri01PM   0:00.14 /usr/local/bin/php
        root   34678  0.0  2.0 57808 20616  ??  I    Fri01PM   0:00.81 /usr/local/bin/php
        root   34841  0.0  2.0 57808 20532  ??  S    Fri01PM   0:03.45 /usr/local/bin/php
        root   35988  0.0  0.4  8096  3616  ??  Ss    3:27PM   0:00.10 sshd: admin@pts/0 (sshd)
        root   47744  0.0  0.1  3420  1380  ??  Ss   Fri01PM   0:00.18 /usr/sbin/cron -s
        root   59513  0.0  0.1  3328  1324  ??  SNs  12:21AM   0:12.04 /usr/local/sbin/apinger -c /var/etc/apinger.conf
        root   10743  0.0  0.3  5928  2596  v0- S    Fri01PM   0:03.14 /usr/sbin/tcpdump -s 256 -v -l -n -e -ttt -i pflog0
        root   10761  0.0  0.2  3784  1660  v0  Is   Fri01PM   0:00.02 login [pam] (login)
        root   10827  0.0  0.1  3328   908  v0- S    Fri01PM   0:03.14 logger -t pf -p local0.info
        root   10921  0.0  0.1  3708  1464  v0  I    Fri01PM   0:00.01 -sh (sh)
        root   12866  0.0  0.1  3708  1464  v0  I+   Fri01PM   0:00.01 /bin/sh /etc/rc.initial
        root   19573  0.0  0.1  3468  1224   0  R+    3:29PM   0:00.00 ps uxawww
        root   46104  0.0  0.2  3708  1544   0  Is    3:27PM   0:00.01 /bin/sh /etc/rc.initial
        root   52312  0.0  0.2  3736  2320   0  S     3:28PM   0:00.02 /bin/tcsh
        
        

        After i click edit on any ppp interface:

        USER     PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED      TIME COMMAND
        root      11 398.9  0.0     0    32  ??  RL   Fri01PM 6160:17.70 [idle]
        root   18520  0.7  3.0 58832 30460  ??  S    Fri01PM   0:32.33 /usr/local/bin/php
        root       0  0.0  0.0     0    56  ??  DLs  Fri01PM   0:00.30 [kernel]
        root       1  0.0  0.0  1888   492  ??  SLs  Fri01PM   0:00.05 /sbin/init --
        root       2  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.01 [g_event]
        root       3  0.0  0.0     0     8  ??  DL   Fri01PM   0:04.28 [g_up]
        root       4  0.0  0.0     0     8  ??  DL   Fri01PM   0:03.29 [g_down]
        root       5  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.00 [crypto]
        root       6  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.00 [crypto returns]
        root       7  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.00 [sctp_iterator]
        root       8  0.0  0.0     0     8  ??  DL   Fri01PM   0:01.03 [pfpurge]
        root       9  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.00 [xpt_thrd]
        root      10  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.00 [audit]
        root      12  0.0  0.0     0   192  ??  WL   Fri01PM   3:40.74 [intr]
        root      13  0.0  0.0     0    32  ??  DL   Fri01PM   0:02.90 [ng_queue]
        root      14  0.0  0.0     0     8  ??  DL   Fri01PM   0:09.85 [yarrow]
        root      15  0.0  0.0     0   168  ??  DL   Fri01PM   0:23.59 [usb]
        root      16  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.13 [pagedaemon]
        root      17  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.00 [vmdaemon]
        root      18  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.00 [pagezero]
        root      19  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.19 [idlepoll]
        root      20  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.57 [bufdaemon]
        root      21  0.0  0.0     0     8  ??  DL   Fri01PM   0:07.29 [syncer]
        root      22  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.65 [vnlru]
        root      23  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.67 [softdepflush]
        root      39  0.0  0.0     0     8  ??  DL   Fri01PM   0:00.81 [md0]
        root     244  0.0  0.1  3416  1160  ??  SNs  Fri01PM   0:00.09 /usr/local/sbin/check_reload_status
        root     246  0.0  0.1  3416  1004  ??  IN   Fri01PM   0:00.00 check_reload_status: Monitoring daemon of check_reload_status
        root     256  0.0  0.2  3936  2264  ??  Is   Fri01PM   0:00.01 /sbin/devd
        root     953  0.0  0.2  3708  1560  ??  IN   12:21AM   0:10.39 /bin/sh /var/db/rrd/updaterrd.sh
        root    6577  0.0  0.3  5344  3072  ??  Is   Fri01PM   0:00.01 /usr/sbin/sshd
        root    6878  0.0  0.1  3328   988  ??  Is   Fri01PM   0:00.00 /usr/local/bin/minicron 240 /var/run/ping_hosts.pid /usr/local/bin/ping_hosts.sh
        root    7458  0.0  0.1  3328  1036  ??  I    Fri01PM   0:00.11 minicron: helper /usr/local/bin/ping_hosts.sh  (minicron)
        root    7548  0.0  0.1  3328   988  ??  Is   Fri01PM   0:00.00 /usr/local/bin/minicron 3600 /var/run/expire_accounts.pid /etc/rc.expireaccounts
        root    7811  0.0  0.1  3328  1036  ??  I    Fri01PM   0:00.01 minicron: helper /etc/rc.expireaccounts  (minicron)
        root    7948  0.0  0.1  3328   988  ??  Is   Fri01PM   0:00.00 /usr/local/bin/minicron 86400 /var/run/update_alias_url_data.pid /etc/rc.update_alias_url_data
        root    8358  0.0  0.1  3328  1036  ??  I    Fri01PM   0:00.00 minicron: helper /etc/rc.update_alias_url_data  (minicron)
        root   10856  0.0  0.1  4568  1204  ??  Is   Fri01PM   0:00.02 /usr/local/sbin/sshlockout_pf 15
        root   11672  0.0  0.1  3424  1512  ??  INs  12:21AM   0:00.01 ntpd: [priv] (ntpd)
        _ntp   11832  0.0  0.2  3424  1592  ??  IN   12:21AM   0:00.32 ntpd: ntp engine (ntpd)
        root   11840  0.0  0.2  4976  2536  ??  Ss   Fri01PM   0:09.55 /usr/sbin/syslogd -c -c -l /var/dhcpd/var/run/log -f /var/etc/syslog.conf
        _ntp   11854  0.0  0.2  3424  1536  ??  IN   12:21AM   0:00.00 ntpd: dns engine (ntpd)
        root   12432  0.0  0.1  3448  1408  ??  Ss   Fri01PM   0:00.18 /usr/sbin/inetd -wW -R 0 -a 127.0.0.1 /var/etc/inetd.conf
        root   18442  0.0  2.4 58832 24528  ??  S    Fri01PM   0:07.21 /usr/local/bin/php
        root   19758  0.0  0.4  8956  4348  ??  Ss   12:21AM   0:00.86 /usr/local/sbin/mpd5 -b -k -d /var/etc -f mpd_wan.conf -p /var/run/pppoe_wan.pid -s ppp pppoeclient
        root   20507  0.0  0.4  6720  3888  ??  S    Fri01PM   0:03.02 /usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf
        root   21100  0.0  1.4 56784 14464  ??  I    Fri01PM   0:00.18 /usr/local/bin/php
        root   23729  0.0  0.1  3328  1112  ??  Is   12:21AM   0:00.00 /usr/local/sbin/dhcpleases -l /var/dhcpd/var/db/dhcpd.leases -d matrix -p /var/run/dnsmasq.pid -h /var/etc/hosts
        root   25210  0.0  0.1  1576   772  ??  IN    3:30PM   0:00.00 sleep 60
        nobody 25264  0.0  0.3  5576  2620  ??  I    12:21AM   0:00.50 /usr/local/sbin/dnsmasq --local-ttl 1 --all-servers --rebind-localhost-ok --stop-dns-rebind --dns-forward-max=5000 --cache-size=10000 --dhcp-hostsfile=/var/etc/hosts
        root   25524  0.0  1.4 56784 14464  ??  I    Fri01PM   0:00.18 /usr/local/bin/php
        dhcpd  27881  0.0  0.6  8448  5968  ??  Ss   12:21AM   0:02.78 /usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid re0
        root   31427  0.0  0.2  4584  1944  ??  IN   12:26AM   0:00.34 /usr/local/bin/rrdtool -
        root   31653  0.0  1.4 56784 14464  ??  I    Fri01PM   0:00.16 /usr/local/bin/php
        root   34339  0.0  1.4 56784 14464  ??  I    Fri01PM   0:00.14 /usr/local/bin/php
        root   34678  0.0  2.0 57808 20616  ??  I    Fri01PM   0:00.91 /usr/local/bin/php
        root   34841  0.0  2.0 57808 20532  ??  S    Fri01PM   0:03.85 /usr/local/bin/php
        root   35988  0.0  0.4  8096  3616  ??  Ss    3:27PM   0:00.12 sshd: admin@pts/0 (sshd)
        root   47744  0.0  0.1  3420  1380  ??  Is   Fri01PM   0:00.18 /usr/sbin/cron -s
        root   59513  0.0  0.1  3328  1324  ??  SNs  12:21AM   0:12.07 /usr/local/sbin/apinger -c /var/etc/apinger.conf
        root   10743  0.0  0.3  5928  2596  v0- S    Fri01PM   0:03.14 /usr/sbin/tcpdump -s 256 -v -l -n -e -ttt -i pflog0
        root   10761  0.0  0.2  3784  1660  v0  Is   Fri01PM   0:00.02 login [pam] (login)
        root   10827  0.0  0.1  3328   908  v0- S    Fri01PM   0:03.15 logger -t pf -p local0.info
        root   10921  0.0  0.1  3708  1464  v0  I    Fri01PM   0:00.01 -sh (sh)
        root   12866  0.0  0.1  3708  1464  v0  I+   Fri01PM   0:00.01 /bin/sh /etc/rc.initial
        root   10540  0.0  0.1  3468  1224   0  R+    3:30PM   0:00.00 ps uxawww
        root   46104  0.0  0.2  3708  1544   0  Is    3:27PM   0:00.01 /bin/sh /etc/rc.initial
        root   52312  0.0  0.2  3736  2320   0  S     3:28PM   0:00.02 /bin/tcsh
        
        

        Hope it help :)

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by May 5, 2012, 3:40 PM

          Nothing appears to be out of the ordinary there, I was expecting to maybe see a spawned shell process that was stuck, but the list is identical (except for a couple things shifted around).

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • D
            Deimos
            last edited by May 5, 2012, 4:55 PM May 5, 2012, 4:52 PM

            Yep i noticed it, but i'm puzzled to see that behaviour on that machine.

            I' will try to install pfsense on a different machine to see the behaviour, since i can't manage to modify my PPP connection at the moment.

            1 Reply Last reply Reply Quote 0
            • D
              Deimos
              last edited by May 6, 2012, 5:51 PM May 6, 2012, 3:32 PM

              Got some news after some tweak / test.

              I fixed the problem by enabling the option "Enable Device Polling" under Networking.

              Was kinda surprised that fix my problem, on the stable release i never had this enabled.

              Hope it helps maybe on the development :)

              Edit:

              Suppose i have 2 PPP connection, PPP1 and PPP2.

              I tried to disable again the Device polling.
              I have on WAN interface PPP1 connection, i want to swap on PPP2.

              After 5 - 10 min i got back to the PC and it have again PPP1, without me changing it.

              I've enabled again Device Polling and it's fine again.

              I'm quite concerned about that behaviour :\

              1 Reply Last reply Reply Quote 0
              • ?
                Guest
                last edited by May 13, 2012, 3:28 PM May 13, 2012, 1:57 PM

                Hm - having similar issues (with Firefox 12) when loading new screens in general -
                Was curious and noticed that reloading the page helped sometimes.

                Also when i do a rude killall php it continues to load the screen, so i think theres a blocking php call.
                But for sure one cant do that when hes saving/applying something.
                Will try the Device polling too and report.  …. Amazing ... is much more responsive - but hangs are still there for me. (on interfaces_ppp_edit for example)  Just to compare - when you issue a

                less /var/log/lighthttp.error.log

                Do you see errors like "Broken Pipe" or "Backend Died" during the time you noticed the hang ?

                1 Reply Last reply Reply Quote 0
                • W
                  wallabybob
                  last edited by May 13, 2012, 10:04 PM

                  I see web GUI hangs when I try to edit PPP Advanced options - see http://forum.pfsense.org/index.php/topic,48499.0.html

                  @ThorstenK:

                  Just to compare - when you issue a

                  less /var/log/lighthttp.error.log

                  Do you see errors like "Broken Pipe" or "Backend Died" during the time you noticed the hang ?

                  No. Most (all?) pfSense logs are circular logs which should be displayed by the clog utility. On my system the last few lines of the output from clog are:

                  2012-05-12 23:55:51: (log.c.166) server started
                  2012-05-12 23:56:06: (log.c.166) server started
                  clog: ERROR: could not write output (Bad address)

                  (It is now 8:03 on 14 May 2012 and in the last 20 minutes I got a seeming hang in the GUI attempting to edit PPP Options.)

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by May 13, 2012, 10:23 PM

                    Try to get a full ps output from when it's working and when it's hung and compare the two. If it is blocking on exec, the command it's running should appear. (Or it might be easier to spot with pstree, pkg_add -r pstree, look for anything that's a child process of a PHP process under lighttpd.)

                    The only thing I can think of that the ppp's page does is that it tries to query 3G modems/serial devices to detect ports that are valid to use. It's possible those probes are failing/blocking for some reason.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • ?
                      Guest
                      last edited by May 14, 2012, 7:11 AM

                      Hi - looking at pstree during an interfaces_ppp hung showed nothing unusual so i commented out get_modem_devices.
                      Currently the hungs are gone. I will look a bit deeper now.

                      interfaces_ppp_get_modem_devices.png
                      interfaces_ppp_get_modem_devices.png_thumb

                      1 Reply Last reply Reply Quote 0
                      • W
                        wallabybob
                        last edited by May 14, 2012, 1:48 PM

                        @ThorstenK:

                        Hi - looking at pstree during an interfaces_ppp hung showed nothing unusual so i commented out get_modem_devices.
                        Currently the hungs are gone. I will look a bit deeper now.

                        I wonder where the definition of pfSense_get_modem_devices is? I see the reference in /usr/local/www/interfaces_ppps_edit.php

                        1 Reply Last reply Reply Quote 0
                        • ?
                          Guest
                          last edited by May 14, 2012, 2:01 PM May 14, 2012, 1:52 PM

                          oh yeah… currently at the same task tryingto find it.
                          grep gives me much at pfsense_ but no declaration for pfsense_get_modem_devices so i think this is an export from the pfSense php module. (oh double post)

                          1 Reply Last reply Reply Quote 0
                          • jimpJ
                            jimp Rebel Alliance Developer Netgate
                            last edited by May 14, 2012, 1:56 PM

                            It's a function in the pfSense PHP module. Some functions, especially those that deal directly with hardware, were put there for optimization.

                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                            Need help fast? Netgate Global Support!

                            Do not Chat/PM for help!

                            1 Reply Last reply Reply Quote 0
                            • ?
                              Guest
                              last edited by May 14, 2012, 2:12 PM May 14, 2012, 2:06 PM

                              found it
                              https://github.com/bsdperimeter/pfsense-tools/blob/master/pfPorts/php52-pfSense-module/files/pfSense.c
                              Maybe i am able to at least add a timeout in it. Otherway you will see a funny new bug :)

                              1 Reply Last reply Reply Quote 0
                              • jimpJ
                                jimp Rebel Alliance Developer Netgate
                                last edited by May 14, 2012, 2:12 PM

                                Yes, it's in the tools repo. It's coded in C and not PHP though.

                                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                Need help fast? Netgate Global Support!

                                Do not Chat/PM for help!

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  Guest
                                  last edited by May 14, 2012, 2:50 PM May 14, 2012, 2:46 PM

                                  hmm.. Im more into scripting and can hardly read C, but as far i can say, the module has a verbose mode and configureable default timeout of 700 retries.

                                  
                                  if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|bl", &show_info, &poll_timeout) == FAILURE) {
                                  php_printf("Maximum two parameter can be passed\n");
                                  
                                  
                                  if ((nw = poll(&pfd, 1, poll_timeout)) > 0) {..}
                                  

                                  I tried to activate the verbose (show_info) mode with  pfSense_get_modem_devices(1,300) but didnt see something relevant popping up at the console or in /tmp/phpError.log. i cant find a poll_timeout– so maybe it tries forever.

                                  Ill open a bug.

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    wallabybob
                                    last edited by May 14, 2012, 3:09 PM

                                    On my pfSense 2.0.1 system:```

                                    $ find / -type f | xargs grep pfSense_get_modem_devices
                                    Binary file /usr/local/lib/php/20060613/pfSense.so matches
                                    /usr/local/www/interfaces_ppps_edit.php: $serialports = pfSense_get_modem_devices();
                                    grep: /var/etc/dyndns_wandnsomaticall.dnsomatic.com.debug: No such file or directory
                                    grep: /cf/conf/dyndns_wandnsomaticall.dnsomatic.com.cache: No such file or directory
                                    $

                                    
                                    On my pfSense 2.1 system:```
                                    
                                    $ find / -type f | xargs grep pfSense_get_modem_devices
                                    Binary file /usr/local/lib/php/20060613/pfSense.so matches
                                    Binary file /usr/local/lib/php/20090626/pfSense.so matches
                                    /usr/local/www/interfaces_ppps_edit.php:				$serialports = pfSense_get_modem_devices();
                                    grep: /var/etc/dyndns_wandnsomaticall.dnsomatic.com.debug: No such file or directory
                                    grep: /cf/conf/dyndns_wandnsomaticall.dnsomatic.com.cache: No such file or directory
                                    $
                                    
                                    

                                    On this system at attempt to edit PPP advanced options on a 3G modem PPP interface hangs. The version of pfSense_get_modem_devices in /usr/local/lib/php/20090626/pfSense.so hangs?

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      Guest
                                      last edited by May 14, 2012, 6:55 PM May 14, 2012, 3:23 PM

                                      Yes, commenting out the call to pfsense_get_modem_devices lets the page load.
                                      I opened a bug for version 2.1 http://redmine.pfsense.org/issues/2433

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        dhatz
                                        last edited by Jun 20, 2012, 6:56 PM

                                        @jimp:

                                        Try to get a full ps output from when it's working and when it's hung and compare the two. If it is blocking on exec, the command it's running should appear. (Or it might be easier to spot with pstree, pkg_add -r pstree, look for anything that's a child process of a PHP process under lighttpd.)

                                        Just a quick suggestion, it'd be nice to offer a pstree binary as part of the base system.

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          allpoints
                                          last edited by Jun 20, 2012, 11:00 PM Jun 20, 2012, 10:34 PM

                                          uname -a
                                          FreeBSD hostname.domain 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #1: Thu Jun 14 19:12:21 EDT 2012     root@FreeBSD_8.3_pfSense_2.1.snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_SMP.8  i386
                                          

                                          Clean install from .iso. Big gitsync. Reboot.  Config.xml restored from GUI via FFox static LAN host on bare metal.

                                          1. pfSense up since 6/16

                                          uptime
                                          12:34PM  up 3 days, 15:03, 2 users, load averages: 0.00, 0.09, 0.08
                                          

                                          Everything appears well, except:

                                          ~~2. http://forum.pfsense.org/index.php/topic,50600.0.html
                                          Webconfigurator hasn't shown OPT or IPv6 gateways for at least a couple weeks (2 updates and a restore from clean install to present snapshot). Been ignoring since IPv6 has been working. Config.xml shows OPT & Gateways properly and=backup from 2.1 Full instance that displayed everything properly.

                                          3. Lost IPv6 some time last night. V4 is up.
                                          Can't ping6 out from LAN hosts, or from pfSense…logs strangely quiet...
                                          Decided to reenter OPT1 and assign the v6 gif & gateways from pfSense GUI, so I could: rule the configuration out, solve 2., hopefully start to see IPv6 info properly through GUI, use the forced config changes to flush.

                                          IPv6 now works.
                                          But either the GUI is down, or I'm locked out. I can't raise GUI via IP or domain name, although I did get a cert warning from Firefox 13, once. Page never loads.

                                          I have ssh/sftp to pfSense via domain name, but "Restart Webconfigurator" doesn't result in a page load on any host on the LAN.

                                          Any suggestions what needs to be restarted? Don't want to reboot.~~

                                          EDIT: GUI no longer hangs. Solved by gitsync (or php_ini reload). GUI loads quickly, displays everything.
                                          If IPv6 fails again, I'll post under a different topic.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received