Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeouts on live group pages #6223

Open
roed314 opened this issue Nov 1, 2024 · 1 comment
Open

Timeouts on live group pages #6223

roed314 opened this issue Nov 1, 2024 · 1 comment
Labels
finite groups Fnite groups
Milestone

Comments

@roed314
Copy link
Contributor

roed314 commented Nov 1, 2024

I think there's utility in keeping live group pages (especially for abelian groups and groups of order less than 2000 that aren't in the database). But certain things do time out, causing annoying errors in the flasklog. This issue is for brainstorming ways to improve the situation.

For example, we recently got timeouts on 119633.1 (a large prime cyclic group) from trying to identify its automorphism group, and on 1060502.1 (nonabelian group, order twice a prime) from listing conjugacy classes. One easy rule: no prime divisor larger than 2000. More broadly, we should stress test various factorization patterns.

@roed314 roed314 added the finite groups Fnite groups label Nov 1, 2024
@roed314 roed314 added this to the v1.3 milestone Nov 8, 2024
@roed314
Copy link
Contributor Author

roed314 commented Dec 14, 2024

We should also probably not compute monomial:

Exception on /Groups/Abstract/1536.408640943 [GET]
Traceback (most recent call last):
  File "/home/sage/sage-9.7/local/var/lib/sage/venv-python3.10.5/lib/python3.10/site-packages/flask/app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/sage/sage-9.7/local/var/lib/sage/venv-python3.10.5/lib/python3.10/site-packages/flask/app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/sage/sage-9.7/local/var/lib/sage/venv-python3.10.5/lib/python3.10/site-packages/flask/app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/sage/sage-9.7/local/var/lib/sage/venv-python3.10.5/lib/python3.10/site-packages/flask/app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/home/lmfdb/lmfdb-git-dev/lmfdb/groups/abstract/main.py", line 700, in by_label
    return render_abstract_group(label)
  File "/home/lmfdb/lmfdb-git-dev/lmfdb/groups/abstract/main.py", line 1555, in render_abstract_group
    info["boolean_characteristics_string"] = create_boolean_string(gp)
  File "/home/lmfdb/lmfdb-git-dev/lmfdb/groups/abstract/main.py", line 560, in create_boolean_string
    props = find_props(
  File "/home/lmfdb/lmfdb-git-dev/lmfdb/groups/abstract/main.py", line 193, in find_props
    if not getattr(gp, prop, None) or prop in noted or prop not in show:
  File "sage/misc/lazy_attribute.pyx", line 127, in sage.misc.lazy_attribute._lazy_attribute.__get__
    result = self.f(a)
  File "/home/lmfdb/lmfdb-git-dev/lmfdb/groups/abstract/web_groups.py", line 448, in monomial
    return bool(self.G.IsMonomial())
  File "sage/libs/gap/element.pyx", line 2677, in sage.libs.gap.element.GapElement_MethodProxy.__call__
    return GapElement_Function.__call__(self, self.first_argument)
  File "sage/libs/gap/element.pyx", line 2523, in sage.libs.gap.element.GapElement_Function.__call__
    sig_on()
RuntimeError: Aborted
[2024-12-14 11:29:03 UTC] 500 error on URL https://beta.lmfdb.org/Groups/Abstract/1536.408640943 ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
finite groups Fnite groups
Projects
None yet
Development

No branches or pull requests

1 participant