Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
User's import too slow
« previous
next »
Print
Pages: [
1
]
Author
Topic: User's import too slow (Read 1913 times)
naltalef
Newbie
Posts: 38
Karma: 2
User's import too slow
«
on:
March 18, 2020, 09:50:48 pm »
Hi to everybody,
I have an OPNSense 20.1.3 running as an OpenVPN server, that authenticates users against an OpenLDAP server.
300 users imported from the LDAP until now and currently 100 users connected.
My problem is that when trying to import the remaining users that are defined on the LDAP, the process takes a really long time, aprox. 5" with one user, 30" with 100 users. It's not a linear relationship.
Could it be that some resources are locked? (e.g.: a file being written).
Doesn't seem to be a hardware problem. Load an memory usage are very low.
If someone could give me a hand on this problem it would be much appreciated.
Thanks,
Norberto
Logged
naltalef
Newbie
Posts: 38
Karma: 2
Re: User's import too slow
«
Reply #1 on:
March 19, 2020, 02:58:04 am »
Hi.
I reboot the firewall and the LDAP import times returned to normal values (aprox 1 sec for one user).
I don't think this is because few users were connected.
During the "long" imports I noticed that the config.xml was continuously changing the "time" value in:
<revision>
<username>exnaltalef@10.180.0.27</username>
<time>1584580036.1892</time>
<description>/system_usermanager_import_ldap.php made changes</description>
</revision>
- From cli is it possible restart the web interface without affecting any service ?
Thanks
Logged
naltalef
Newbie
Posts: 38
Karma: 2
Re: User's import too slow
«
Reply #2 on:
March 23, 2020, 02:12:41 am »
Hi.
The problem reappeared and apparently only occurs when there are many (100 or more) users connected to the VPN.
Any idea ?
Thanks
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
User's import too slow