Skip to content
NFSv4: machine gets...
 
Notifications
Clear all

NFSv4: machine gets unresponsive when share is accessed without ticket

1 Posts
1 Users
0 Likes
38 Views
Guest
Illustrious Member
Joined: 1 year ago
Posts: 72614
Topic starter  

We are implementing NFSv4_kerberos for mounting of home directories on a RHEL 9 machine.
The think is that if a user has a cronjob that writes to the mounted homedir after the ticket expiration, the whole machine gets very unresponsive, to the point that I cannot even use the GUI.

Using top, I see this:

root      20   0  622392  74816  12876 R 100.0   0.9   1267:35 udisksd
1878994 ec-fran+  20   0  631432  41476   8300 R 100.0   0.5   2629:12 gsd-housekeepin
   2478 root      20   0  237100   2996   2688 S   0.3   0.0   1:33.41 GetMachineId.sh
   3467 root      20   0  531688  66192  11344 S   0.3   0.8  68:51.39 sssd_kcm
1878834 ec-fran+  20   0  598832  10692   8060 S   0.3   0.1  33:21.64 ibus-daemon

and sometimes this:

1878523 ec-fran+  20   0  121020  40352   8276 R  48.2   0.5 991:14.60 systemd
1879208 ec-fran+  20   0  722592  61232   8644 R  48.2   0.8 608:21.50 gvfsd-trash
3254251 root      20   0  124260  41240   8200 R  47.2   0.5   0:57.99 systemd
1878894 ec-fran+  20   0  731276  46704   9268 R  46.9   0.6   1572:14 gvfs-udisks2-vo
      1 root      20   0  276064  40796   9012 R  45.9   0.5   1030:26 systemd
   1601 gdm       20   0  123492  39796   8024 R  45.9   0.5 993:01.11 systemd
1878994 ec-fran+  20   0  631432  41476   8300 R  42.3   0.5   2629:58 gsd-housekeepin
   1936 gdm       20   0 4570320 259660 113184 R  42.0   3.3 663:24.11 gnome-shell
    837 root      20   0  622392  74816  12876 R  14.8   0.9   1268:09 udisksd

Is there a way to minimize this problem? We don't know ahead for how long a user will be idle, so as of now it would be too risky to use NFSv4 as all it takes is one idle user to make the whole VM unresponsive.

I see the the script I wrote to write something simple every hour to my home dir fails, but why the whole thing would make the machine unresponsive?

Here are the journalctl -f logs:

Apr 18 14:12:02 myhost.com systemd[1]: Started Session 31637 of user ec-fran.
Apr 18 14:12:08 myhost.com crond[3254526]: (mount.c:68): Messages from underlying mount program:
Apr 18 14:12:08 myhost.com crond[3254526]: (mount.c:72): mount.nfs: access denied by server while mounting mystorage.com:/fp/homes01/u01/ec-fran
Apr 18 14:12:08 myhost.com crond[1314]: (mount.c:68): Messages from underlying mount program:
Apr 18 14:12:08 myhost.com crond[1314]: (mount.c:72): mount.nfs: access denied by server while mounting mystorage.com:/fp/homes01/u01/ec-fran
Apr 18 14:12:08 myhost.com crond[1314]: (pam_mount.c:522): mount of /fp/homes01/u01/ec-fran failed
Apr 18 14:12:08 myhost.com crond[3254526]: (pam_mount.c:522): mount of /fp/homes01/u01/ec-fran failed
Apr 18 14:12:08 myhost.com CROND[3254539]: (ec-fran) CMD (echo "meagainn" >> ~ec-fran/test.txt)
Apr 18 14:12:08 myhost.com CROND[3254539]: (CRON) ERROR chdir failed (/fp/homes01/u01/ec-fran): Permission denied
Apr 18 14:12:08 myhost.com systemd[1]: session-31637.scope: Succeeded.
Apr 18 14:12:55 myhost.com goferd[1055]: [INFO][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] proton:1105 - Disconnected, already closed
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 - Traceback (most recent call last):
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 40, in _fn
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     return fn(*args, **keywords)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 611, in get
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     return self._impl.get(timeout)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/proton/reliability.py", line 44, in _fn
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     repair()
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/proton/consumer.py", line 81, in repair
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     self.connection.open()
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/connect.py", line 29, in inner
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     impl = fn(connection)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/proton/connection.py", line 91, in open
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     ssl_domain=domain)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib64/python3.6/site-packages/proton/_utils.py", line 395, in __init__
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     msg="Opening connection")
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib64/python3.6/site-packages/proton/_utils.py", line 529, in wait
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     raise Timeout(txt)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 - proton._exceptions.Timeout: Connection amqps://rhsat-prod01.uio.no:5647 timed out: Opening connection
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 - During handling of the above exception, another exception occurred:
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 - Traceback (most recent call last):
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/consumer.py", line 98, in read
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     message, document = reader.next(wait)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 40, in _fn
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     return fn(*args, **keywords)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 645, in next
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     message = self.get(timeout)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 45, in _fn
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     raise ModelError(*e.args)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 - gofer.messaging.model.ModelError: Connection amqps://rhsat-prod01.uio.no:5647 timed out: Opening connection
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 - During handling of the above exception, another exception occurred:
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 - Traceback (most recent call last):
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 40, in _fn
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     return fn(*args, **keywords)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 584, in open
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     self._impl.open()
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/proton/reliability.py", line 45, in _fn
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     return fn(messenger, *args, **kwargs)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/proton/consumer.py", line 72, in open
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     self.connection.open()
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/connect.py", line 29, in inner
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     impl = fn(connection)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/proton/connection.py", line 91, in open
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     ssl_domain=domain)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib64/python3.6/site-packages/proton/_utils.py", line 395, in __init__
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     msg="Opening connection")
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -   File "/usr/lib64/python3.6/site-packages/proton/_utils.py", line 529, in wait
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 -     raise Timeout(txt)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.adapter.model:44 - proton._exceptions.Timeout: Connection amqps://rhsat-prod01.uio.no:5647 timed out: Opening connection
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 - pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 - Traceback (most recent call last):
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 40, in _fn
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     return fn(*args, **keywords)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 611, in get
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     return self._impl.get(timeout)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/proton/reliability.py", line 44, in _fn
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     repair()
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/proton/consumer.py", line 81, in repair
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     self.connection.open()
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/connect.py", line 29, in inner
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     impl = fn(connection)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/proton/connection.py", line 91, in open
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     ssl_domain=domain)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib64/python3.6/site-packages/proton/_utils.py", line 395, in __init__
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     msg="Opening connection")
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib64/python3.6/site-packages/proton/_utils.py", line 529, in wait
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     raise Timeout(txt)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 - proton._exceptions.Timeout: Connection amqps://rhsat-prod01.uio.no:5647 timed out: Opening connection
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 - During handling of the above exception, another exception occurred:
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 - Traceback (most recent call last):
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/consumer.py", line 98, in read
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     message, document = reader.next(wait)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 40, in _fn
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     return fn(*args, **keywords)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 645, in next
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     message = self.get(timeout)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 45, in _fn
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     raise ModelError(*e.args)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 - gofer.messaging.model.ModelError: Connection amqps://rhsat-prod01.uio.no:5647 timed out: Opening connection
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 - During handling of the above exception, another exception occurred:
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 - Traceback (most recent call last):
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 40, in _fn
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     return fn(*args, **keywords)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 584, in open
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     self._impl.open()
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/proton/reliability.py", line 45, in _fn
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     return fn(messenger, *args, **kwargs)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/proton/consumer.py", line 72, in open
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     self.connection.open()
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/connect.py", line 29, in inner
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     impl = fn(connection)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/proton/connection.py", line 91, in open
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     ssl_domain=domain)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib64/python3.6/site-packages/proton/_utils.py", line 395, in __init__
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     msg="Opening connection")
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib64/python3.6/site-packages/proton/_utils.py", line 529, in wait
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     raise Timeout(txt)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 - proton._exceptions.Timeout: Connection amqps://rhsat-prod01.uio.no:5647 timed out: Opening connection
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 - During handling of the above exception, another exception occurred:
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 - Traceback (most recent call last):
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/consumer.py", line 72, in open
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     self.reader.open()
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -   File "/usr/lib/python3.6/site-packages/gofer/messaging/adapter/model.py", line 45, in _fn
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 -     raise ModelError(*e.args)
Apr 18 14:12:55 myhost.com goferd[1055]: [ERROR][pulp.agent.1bd4c9ff-d49f-40f9-a651-91971b29919f] gofer.messaging.consumer:79 - gofer.messaging.model.ModelError: Connection amqps://rhsat-prod01.uio.no:5647 timed out: Opening connection

Any tips on how to minimize this problem?


   
Quote

Unreplied Posts

is_user_logged_in() undefined at shutdown in plugin context

The function is_user_logged_in() is not available at shutdown (plugin context, not theme).

I want my plugin to run only (1) on front-end pages and (2) when the user is not logged in.

This partially works, but it also runs on Divi builder front-end pages, so I need to add !is_user_logged_in:

if (!is_admin()) {
    add_action('shutdown', function () {
        // Do some ob_start() and PHP_Tidy() stuff...
    }, 0);
}

Unfortunately changing my conditional to if (!is_admin() && !is_user_logged_in()) fails with:

Uncaught Error: Call to undefined function is_user_logged_in() in...

How can I find the next following line containing a specific string, then append that to the current line? (Notepad++)

I guess I’m trying to do two things using Notepad++:

  1. Find a line containing a comma character, then
  2. Find a subsequent line that contains the word “Proximity”, then copy that entire line, and append it to the current line in #1 above. The line containing “Proximity” could be any number of lines down from the original line.

Here’s a mock up:

“SCOTT, Michael”
“Office Manager”
“Card Number Card Format Disabled”
“0273ADNC PAC Proximity Reader False”
“Random rubbish”
“SCHRUTE, Dwight”
“Card Number Card Format Disabled”
“0897FFRF PAC Proximity Reader False”

Should become:

“SCOTT, Michael ; 0273ADNC PAC Proximity Reader False”
“SCHRUTE, Dwight ; 0897FFRF PAC Proximity Reader False”

I added the semicolon just to help me parse it later. I also want to remove any extra lines other than the line containing the comma (also contains the names), and the “Proximity” line.

Any ideas are appreciated!

Why is a field extension $L:K$ normal if and only if $text{Aut}(L:K)$ acts transitively on the set of homomorphisms $Lto overline{K}$?

$begingroup$

According to Wikipedia, given the algebraic extension $L:K$, the following are equivalent:

$a)$ The minimal polynomial over $K$ of every element in $L$ splits in $L$.

$b)$ $text{Aut}(L:K)$ acts transitively on the set of homomorphisms $Lto overline{K}$ where $overline{K}$ is the algebraic closure of $K$.

I have found nothing similar to the above result (equivalence of the conditions) in Stewart’s Galois Theory, and thus I’m wondering why are the conditions above equivalent?

$endgroup$

Can connect to Droplet only using root user

I’m trying to set up a Digital Ocean Droplet, and i have created a new user to follow best practices and also so that i can run the code command, because it isn’t allowed as the root user.
I can login using
ssh -i ~/.ssh/id_rsa root@droplet_ip
but running
ssh -i ~/.ssh/id_rsa my_user@droplet_ip
returns my_user@droplet_ip: Permission denied (publickey).
Why is this issue occuring?
I also have managed to change the user after logging in as root using sudo su my_user, but when I try to run code it says
mkdir: cannot create directory ‘’: No such file or directory which is very odd.

Any help will be greatly appreciated 🙂

Using a list in batch file

I need to copy a file if exist to a list of destinations. The Destination contain %variables% . When I run it appears to be taking the literal path as given in the array list.

How can I make it use the variable in the array list?

The lnk and the Shortcut_Locations.txt are located in same folder as script.

@echo off

pushd "%~dp0" 

set source_file=App1.lnk

set destination_list=Shortcut_Locations.txt

for /f "tokens=*" %%I in (%destination_list%) do (
    if exist "%%I" (
        copy /Y "%source_file%" "%%I"
    )
)

POPD

Shortcut_Locations.txt content

\server1data\%username%Desktop\
%appdata%OpenShellPinned\
%appdata%OpenShellPinnedGGHC\

Proving set is Borel in $S^{n-1}$

$begingroup$

I am reading Mattila’s “Fourier analysis and Hausdorff dimension”, the author leaves as an exercise to prove that the set $S_infty$ is a Borel set. I will now define the set $S_infty$:

Theorem 5.1: Let $Asubsetmathbb{R}^n$ be a Borel set with $text{dim}A=sleq1$. Then for all $tin[0,s]$
$$ text{dim}{ ein S^{n-1} : text{dim}P_e(A)<t }leq n-2+t $$

Where $P_e: mathbb{R}^nto mathbb{R}$, is the proyection $P_e(x) = ecdot x$ for some $ein S^{n-1}$. For the proof the autor takes $sigma<tleq s$ and finds a Borel measure $mu$ with support on $A$ such that $0<mu(A)<infty$ and such that $I_sigma(mu)<infty$, where $I_sigma(mu)$ is the energy defined as

$$ I_sigma(mu) = iint |x-y|^{-sigma},dmu x,dmu y.$$

He then has to prove that

$$S_infty = {ein S^{n-1} : I_sigma(mu_e) =infty}$$

is a Borel set. Where $mu_e(B) = mu(P_e^{-1}(B))$ is the push-forward of $mu$ under $P_e$.


This is what I tried doing:

begin{align*}
I_sigma(mu_e) = int_{-infty}^inftyint_{-infty}^infty |x-y|^{-sigma},dmu_ex,dmu_ey &= int_{mathbb{R}^n}int_{mathbb{R}^n} |ecdotxi – ecdotzeta|^{-sigma},dmu xi,dmuzeta \
&= int_{mathbb{R}^n}int_{mathbb{R}^n} |e|^{-sigma}|xi – zeta|^{-sigma},dmuxi,dmuzeta\
&= int_{mathbb{R}^n}int_{mathbb{R}^n} |xi – zeta|^{sigma},dmuxi,dmuzeta\
&= I_sigma(mu),
end{align*}

where I’m using that because $ein S^{n-1}$ then $|e| =1$. But then I get stuck and I do not know how to continue with the calculations, because the set
$${ ein S^{n-1} : I_sigma(mu)=infty }$$
doesn’t make sense to me, maybe my previous calculation is wrong.

$endgroup$

Problem with PID – Zabbix Server on Ubuntu (WSL2)

I’m having trouble trying to start Zabbix Server (6.4) on WSL2. When I try the following command:

service zabbix-server restart:

I received the following message:

 * Stopping Zabbix server zabbix_server
No process in pidfile '/var/run/zabbix/zabbix_server.pid' found running; none killed.   [ OK ]
 * Starting Zabbix server zabbix_server   

And Zabbix Server does not start:

service zabbix-server status:

 * zabbix_server is not running

Inside the log file (/var/log/zabbix/zabbix_server.log), is found the follow message repeated several times:

13660:20230417:160028.155 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13) 

Followed with the message in the end of the file:

13660:20230417:160028.155 database is down: reconnecting in 10 seconds 13660:20230417:160032.344 Got signal [signal:15(SIGTERM),sender_pid:15318,sender_uid:0,reason:0]. Exiting ... 
13660:20230417:160032.344 Zabbix Server stopped. Zabbix 6.4.1 (revision 546e284fd7c).

But I already installed the mysql-server normally, and it is running without any kind of problem.

How can I connect from a mac to a windows?

I have two computers on the same local networks and I have installed OpenSSH Server on the windows and activated the 22 port communication on the windows.

Then in my mac i put

ssh username@ip_of_windows

however, it doesn’t let me connect on terminal. The connection just disappears without any error. What am I missing?

thank you!

Cox’s exercise 5.1 on (eventually) proving ring of integers is a dedekind domain

$begingroup$

Note: It seems that $LaTeX$ rendering is very broken, either for my Firefox browser or for the site. Here is an example: $mathfrak{a}_{n} = mathfrak{a}_{n + 1} = cdots$ turns into $mathfrak{a}_{n} = mathfrak{a}_{n + 1} = cdots$. I can’t fix it, so I have rendered it and pasted an image below. Hopefully it will be fixed soon. (I might make a meta post, not sure if that’s the right move).

Update: It seems to be fixed when I submitted the question? It rendered as broken LaTeX (and very slowly, unlike now where it’s instant). I have moved the image to the bottom, in case the problem is occuring for others.


Hi! I am reading Cox’s “Primes of the Form $x^2 + ny^2$“, and am on Chapter 5 (it’s a speedrun from number fields to Hilbert’s class field). I am attempting exercise 5.1, and I have done some parts, so I am both asking for verification for my solution as well as hints for the rest.

Things we have stated:

Proposition 5.3. For a number field $K$

(i) $mathcal{O}_K$ is a subring of $mathbb{C}$ whose field of fractions is $K$.

(ii) $mathcal{O}_K$ is a free $mathbb{Z}$-module of rank $[K : mathbb{Q}]$.


(a) Show that a nonzero ideal $mathfrak{a}$ of $mathcal{O}_K$ contains a nonzero integer $m$. (Hint: …)

My solution: Let $alpha neq 0$ be in $mathfrak{a}$. Of course it is algebraic, so let the monic integer polynomial $f(x) = a_0 + a_1x + cdots + a_{n – 1}x^{n – 1} + x^n$ be its minimal polynomial. Now, $langle alpha rangle subset mathfrak{a}$. In particular, for all integers $i geq 1$, the elements $alpha^i$ are in $mathfrak{a}$. This then means $sum_{i geq 1} a_i alpha^i in mathfrak{a}$, and since $f(alpha) = 0 in mathfrak{a}$, we have $m = a_0 in mathfrak{a}$.


(b) Show that $mathcal{O}_K / mathfrak{a}$ is finite whenever $mathfrak{a}$ is a nonzero ideal of $mathcal{O}_K$. Hint: if $m$ is the integer from (a), consider the surjection $mathcal{O}_K / mmathcal{O}_K to mathcal{O}_K / mathfrak{a}$. Use part (ii) of Proposition 5.3 to compute the order of $mathcal{O}_K / mmathcal{O}_K$.

My Ideas: From above, we know that $langle m rangle subset langle alpha rangle subset mathfrak{a}$, so my intuition tells me that this surjection definitely exists. (In my intuition, everything’s a module / vector space, so this surjection is just a projection map?) However, I don’t know how to explicitly describe it.

To compute $left|mathcal{O}_K / mmathcal{O}_Kright|$, from the proposition above we know that $mathcal{O}_K cong mathbb{Z}^{[K : mathbb{Q}]}$, so $mathcal{O}_K / mmathcal{O}_K$ is just $left(mathbb{Z} / mmathbb{Z}right)^{[K : mathbb{Q}]}$ and the order is $m^{[K : mathbb{Q}]}$. This part makes sense but feels a little hand wavy? Or is it justified as is?


(c) Use (b) to show that every nonzero ideal of $mathcal{O}_K$ is a free $mathbb{Z}$-module of rank $[K : mathbb{Q}]$.

My solution: Fix a nonzero ideal $mathfrak{a} subset mathcal{O}_K$. We know that $mathcal{O}_K / mathfrak{a}$ is finite and $mathcal{O}_K cong mathbb{Z}^{[K : mathbb{Q}]}$, so $mathfrak{a}$ has to be a product of $[K : mathbb{Q}]$ infinite subgroups of $mathbb{Q}$, i.e. $mathfrak{a} cong prod_{i = 1}^{[K : mathbb{Q}]} m_imathbb{Z}$. This is easy to prove by a simple proof by contradiction.


(d) If we have ideals $mathfrak{a}_1 subset mathfrak{a}_2 subset cdots$, show that there is an integer $n$ such that $mathfrak{a}_n = mathfrak{a}_{n + 1} = cdots$. Hint: consider the surjections $mathcal{O}_K / mathfrak{a}_1 to mathcal{O}_K / mathfrak{a}_2 to cdots$, and use (b).

My solution: Again, my intuition tells me the surjections $mathcal{O}_K / mathfrak{a}_i to mathcal{O}_K / mathfrak{a}_{i + 1}$ exists, but I don’t know how to construct them. Anyways, I claim that if $mathfrak{a}_i neq mathfrak{a}_{i + 1}$, then $left|mathcal{O}_K / mathfrak{a}_{i + 1}right| < left|mathcal{O}_K / mathfrak{a}_iright|$. This holds because for $alpha in mathfrak{a}_{i + 1} setminus mathfrak{a}_i$ is a nonzero element in the kernel of the surjection. Since the quotients are finite, it must eventually stop and hence there are no infinite ascending chains.


(e) Use (b) to show that a nonzero prime ideal of $mathcal{O}_K$ is maximal.

My ideas: Let $mathfrak{a}$ be a prime ideal of $mathcal{O}_K$, and suppose that $mathfrak{a} supset mathfrak{b}$ (i.e. $mathfrak{a}$ is not maximal), which gives $mathcal{O}_K / mathfrak{b} subset mathcal{O}_K / mathfrak{a}$. Thinking about everything as $mathbb{Z}$-modules, we can write $mathcal{O}_K cong prod_{i = 1}^{[K : mathbb{Q}]} mathbb{Z}$ as ordered coordinates, and similar that $mathcal{O}_K / mathfrak{b} cong prod_{i = 1}^{[K : mathbb{Q}]} mathbb{Z} / m_i mathbb{Z}$ and $mathcal{O}_K / mathfrak{a} cong prod_{i = 1}^{[K : mathbb{Q}]} mathbb{Z} / n_i mathbb{Z}$. By the inclusion, we know that $m_i mid n_i$, and for at least one $j$, $m_j neq n_j$. However, for such $j$ we have that $n_j = m_j cdot left(frac{n_j}{m_j}right)$ i.e. $mathbb{Z} / n_j mathbb{Z}$ is not an integral domain, and hence the product ring is not an integral domain, which means $mathfrak{a}$ is not prime.


For you for your help in advance!

enter image description here

$endgroup$

Share: