• Swap usage

    4
    0 Votes
    4 Posts
    1k Views
    bmeeksB
    @Walter5623 said in Swap usage: Hi, Would useing RAM Disks help? Any other ideas? Cheers Using RAM disks will make your problem orders of magnitude worse! Do you know what swap is for and what it actually is? Swap memory is a type of temporary RAM. When there is not enough physical RAM to hold the information the currently running processes are using, the operating system will cycle currently idle sections of RAM out to a special file on the disk. So any currently loaded process that happens to be sleeping or otherwise not actively using CPU at that exact instant can have some or all of its data removed from RAM and written to the swap file on disk to free up RAM for use by another active process. Then, when that sleeping process "wakes up" and starts execution again, the operating system reads its data from the swap file and copies it back into RAM. This is an extremely slow set of processes compared to keeping the data in RAM the whole time. So usage of swap is basically to be avoided. When you start using swap, things are going to get very slow very fast. A RAM disk uses part of RAM to hold data that is normally written to disk. So you would be taking up even more precious RAM to act as a disk drive and thus increase the operating system's need to use the swap file. You leave the OS even less free RAM to use for processes since a RAM disk reserves some RAM to be a disk drive. RAM disks today are generally a bad idea on pfSense. I suggest you avoid using them altogether. As @DaddyGo mentioned, you are using some memory intensive packages. 4 GB of RAM is really not all that much for the packages you have. Are you sure you really need Squid? With the widespread use of HTTPS today, the utility of caching with Squid is reduced unless you are using some type of MITM. Squid can use a lot of disk space, too. The ntopng package can also be quite resource intensive as can Snort. So together, all those packages can give your firewall a real workout with only 4 GB of RAM available. That's why your firewall is resorting to use swap space, and it is having trouble even with that. This is because swap space is configured during pfSense installation and is a fixed size. Your error messages indicate you are exhausting your swap file space.
  • 0 Votes
    7 Posts
    1k Views
    J
    Removing the coax caused pfsense to lose connection, but maintain the DCHP address it had. I was logged in to the gui and could still use it as long as I stayed away from the dashboard. The dashboard did load very slowly but did load after a few minutes. Logging out and then logging back in, where the default starting point is the gui, did not ever load and eventually returned this: [image: 1594594724498-screen-shot-2020-07-12-at-4.51.54-pm.png] I read this is due to widgets, ie the version checking for updates and needing DNS but not having it and eventually timing out. The 8987 bug shows resolved, but did say that the issue is not resolvable at the time. Once I reconnected the coax, everything became stable again and no reboots on the modem or pfsense were needed. That is not what happened to me yesterday, I had to reboot both the modem and pfsense. Is this something I need to live with, not being able to check the status of my WAN via pfSense when my isp goes down? Is there a command line equivalent of this gateway status shown in the dashboard? [image: 1594595191411-screen-shot-2020-07-12-at-5.05.53-pm.png] Thanks, Jerold
  • Auto Config Backup not working

    8
    1 Votes
    8 Posts
    1k Views
    P
    I'm still unable to backup my config. Same issue from first post.
  • How to migrate network from USG to PFSense

    2
    0 Votes
    2 Posts
    1k Views
    DaddyGoD
    @anamuco247 Hi, Basically, USG and pfSense are different philosophies. (somewhere each is network security device, but on a different basis) so there is no way to migrate settings from USG to pfSense one at a time. You can, of course, keep the network topology, but first you learn how to use pfSense (test environment) and then configure it the way you need it. The starting point will be: https://docs.netgate.com/manuals/pfsense/en/latest/the-pfsense-book.pdf a little later: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
  • LDAP authentication not pulling member of attribute

    9
    0 Votes
    9 Posts
    9k Views
    T
    @zxjinn Thank you, my setup started working after matching the group name from pfSense with the group name on Synology. That was the missing part for me!
  • How to block mobile teethering in pfsense

    19
    0 Votes
    19 Posts
    3k Views
    JKnottJ
    @Bipin Perhaps you could set up a policy where anyone caught sharing would be suspended. You can run WiFi scanner apps on a phone or tablet to see what SSIDs are visible. With WiFi Analyzer, there's even a signal strength meter, so that you can determine where a signal is coming from.
  • Help with redirect port 53 rule and allowing a client to bypass rule

    5
    0 Votes
    5 Posts
    288 Views
    P
    Awesome, thank you.
  • Chrome problem reaching my on premiss site in the same physical network

    6
    0 Votes
    6 Posts
    571 Views
    GertjanG
    @sugi said in Chrome problem reaching my on premiss site in the same physical network: why only the chrome? I don't know what Chrome is ... / don't use Chrome.
  • Hardware Upgrade and Version Upgrade config xml problem

    2
    0 Votes
    2 Posts
    363 Views
    stephenw10S
    You can move config files between factory and CE, that's not the issue. XML (config) sync will not work between different pfSense versions. Both 2.4.2p1 and 2.4.3 are very old you should upgrade both to current, 2.4.5p1. State sync will not work between nodes with disimilar NICs. You cannot have igb NICs in one and em NICs in the other. None of that should stop it booting. Where does it stop? Most likely is the manually edited xml is invalid. Steve
  • OPENVPN

    2
    0 Votes
    2 Posts
    326 Views
    DaddyGoD
    @ti-sangiogoadv Hi, I hope this is what you thought (it works for us): https://www.firewallhardware.it/en/pfsense-and-openvpn-timed-access-for-openvpn-and-limitations-on-the-lan/ +++edit: @ti-sangiogoadv "Good afternoon ladies and gentlemen." it's very cool
  • Understanding BufferBloat and LAGG

    19
    0 Votes
    19 Posts
    2k Views
    stephenw10S
    If it only appears at boot then, yes, it probably can be ignored. It looks like it's also associated with setting the QMA to CoDel which is not usually necessary. Leaving it as Taildrop with FQ-CoDel as the Scheduler should get the same results. Steve
  • Notification on events

    4
    0 Votes
    4 Posts
    1k Views
    S
    Thanks for the answer Gertjan I'll have a look at it Ciao
  • cannot SSH to pfSense with correct password

    6
    0 Votes
    6 Posts
    3k Views
    stephenw10S
    Ah, that would do it!
  • pfSense as a router performance

    8
    0 Votes
    8 Posts
    1k Views
    stephenw10S
    As long as that single IP they assign you is outside the /24 then you don't need to add any routes. They would be statically routing the /24 to that IP but pfSense would just route between it's interfaces, the single IP on WAN and the /24 on LAN, by default. Steve
  • Router web UI locked up and won't boot

    2
    0 Votes
    2 Posts
    320 Views
    GertjanG
    @gullible-goose-gander said in Router web UI locked up and won't boot: Is this something I should be worried about recurring? You should probably change some rules. It's 2020 : we are still allowed to pull the plug on a (some) coffee machines. All other devices , you have to activate the shut down method. if the GUI, accessible with a web browser, doesn't work, you could use the other, even more important interface : SSH (it should be activated on at least LAN) and this port : COM: Support 1*RJ45 COM(Support CONSOLE Function) That port, the console port, permit you to shut down properly, do file system checks (see one of the latest Netgate videao on Youtube). Just ripping out he power could mess up the file system. What happens then can be easily tested : try with your PC : boot and cut the power several times .... it won't take long for your PC not to boot any more.
  • Pfsense solve my latency ! why ?

    5
    0 Votes
    5 Posts
    1k Views
    Raffi_R
    @NollipfSense said in Pfsense solve my latency ! why ?: @Raffi_ said in Pfsense solve my latency ! why ?: Interesting, does it block bad IPs with the default config? Being a firewall it blocks anything incoming by default, but I didn't think it filtered out bad sites without some kind of package like pfblocker. You intuitively got the answer that I implied ... with a package such as pfBlockerNG as well as by default it blocks all. :) Got it. pfSense and you guys in the community seem to teach me something new all the time. I wanted to make sure it wasn't new pfSense magic I wasn't aware of.
  • AT&T Uverse IPTV issue

    1
    0 Votes
    1 Posts
    388 Views
    No one has replied
  • L2TP VPN: 2nd RADIUS server?

    2
    0 Votes
    2 Posts
    324 Views
    jimpJ
    The docs are probably wrong on that. That section may have been copied over from one of the other similar pages like PPTP which used to have two RADIUS servers.
  • HTTP/3 support/settings?

    5
    0 Votes
    5 Posts
    716 Views
    A
    good to know, thanks
  • Can a modem/router combo & Netgate SG-1100

    16
    0 Votes
    16 Posts
    2k Views
    Raffi_R
    @pi said in Can a modem/router combo & Netgate SG-1100: @Raffi_ said in Can a modem/router combo & Netgate SG-1100: @stephenw10 said in Can a modem/router combo & Netgate SG-1100: I'm not sure how you could use the wifi parts of a modem/router when it's in bridge mode since it will not have a public IP itself. I guess I could imagine using it to access the modem for admin purposes. Even if it were possible in some roundabout way with VLANs it's impossible to recommend a setup like that unless you really had no other choice. If you want to filter all your traffic through the SG-1100 put the modem in bridge mode and forget about using the wifi on it. Steve I second this. I think you have to choose if you want it to be a modem or wifi access point. If your ISP is charging a modem rental fee, then replacing it makes sense. Put it in bridge mode, you'll most likely sacrifice the wifi capability, but you'll be avoiding that fee. If the ISP is giving you the modem for free, then use the Motorola as a wifi access point. Disable, all services like DHCP and only use the LAN ports on the Motorola. The LAN from the Motorola can go to Opt 1. This sounds like a good idea. I’ll try that out Make sure to check with the ISP on the modem fee though. Because even ISP's that state the modem is "free", it never really is, they just include it in the cost. What I mean by that is unless you explicitly ask if there is a discount on your bill for BYOD, they will get away with billing you for that "free" modem. In other words, they should give you credit for your own device even if they're not billing you for their modem. If they don't offer credit, or they really aren't billing you for it, then wifi it up.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.