classification_finite_simple_groups cannot be evaluated: restore stack limit and vm.max_map_count
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
調査の方向性
scripts/fetch_dependency_caches.py から始めてください。ここでは leantar のリストアが RLIMIT_STACK を 64 MiB に設定しています。これを少なくとも 1 GiB に、または無制限の場合はハードリミットまで引き上げ、次に一覧にある Certificates.Kernel.* アーティファクトに対して prepare_ci_dependencies.py と fetch_dependency_caches --restore を再実行し、展開できることを確認してください。別途、ubuntu-24.04 ワークフローで sysctl 経由で vm.max_map_count を設定すべきか、それとも問題のドキュメントで、CFSG.Statement のインポートがデフォルトを超えることを提出者に警告すべきかを決めてください。完了とは、クリーンなリストアと lake test が previous-stable 設定で通ること、またはランナーを変更できない場合に要件を文書化することです。
索引モデルが issue の本文から書いたものです。
説明
While preparing a submission for classification_finite_simple_groups on the previous-stable configuration (Lean v4.35.0; lean-eval main at bcc14246; cfsg 965a0775, TauCeti 1f9b4414, Mathlib 07406378), we found two problems that, as far as we can tell, stop any submission to this problem from being evaluated. We followed the CI steps: prepare_toolchain.py previous-stable --apply, prepare_ci_dependencies.py, fetch_dependency_caches --restore, then lake test (comparator with NanoDa) in the workspace with the submission overlaid.
1. scripts/fetch_dependency_caches.py: 64 MiB stack is too small for some cfsg artifacts
The restore step raises RLIMIT_STACK to 64 MiB for leantar. With that limit, leantar exits with 139 (SIGSEGV) while unpacking 9 Certificates.Kernel.* artifacts, so the restore fails after its retries:
Certificates.Kernel.SporSch.PairJ3.FormsTextCertificates.Kernel.Co1B.Acts0Certificates.Kernel.Sporadic.OddCore.SuzCertCertificates.Kernel.Sporadic.Fi22.Ext2073Certificates.Kernel.Sporadic.OddCore.HND4Certificates.Kernel.Misc.Perm.J2C3CCertificates.Kernel.HeLoc.SevenDataCertificates.Kernel.Misc.RuFive.TextCertificates.Kernel.D43.HexG
When we unpacked the same .ltar files by hand, 8 of them needed 256 MiB of stack, and Certificates.Kernel.SporSch.PairJ3.FormsText needed 1 GiB. With a 4 GiB soft limit the restore completed. Raising the limit in the script to at least 1 GiB (or to the hard limit when it is unlimited) should fix this.
For scale, the import closure of CFSG.Statement is about 227k cfsg modules. The restored cfsg/.lake is about 201 GB, and the package tree is about 213 GB in 3.8 million files. That may also matter for runner disk and time budgets.
2. Importing CFSG.Statement fails under the default vm.max_map_count
After a complete restore, lake test fails while building Submission. The error is:
error: Submission.lean:1:0: failed to read file '.../cfsg/.lake/build/lib/lean/CFSG/LocalAnalysis/.../*.olean.private'
error: build failed
We measured the following:
- Memory is not the cause. The build fails the same way at 16 CPU / 32 GiB (peak 28.3 GB) and at 62 CPU / 240 GiB (peak 17.9 GB).
- A plain
lake env leanon a file that only importsCFSG.Statementfails when the process reaches 1,048,142 memory mappings. At that point it has only 11–14 open file descriptors. vm.max_map_countis 1,048,576 on our machines. This is the Ubuntu 24.04 default, and the CI workflows also useubuntu-24.04.
So importing CFSG.Statement (and with it this problem's statement) seems to need vm.max_map_count well above 1.05M. A submitter cannot change this setting; it has to be raised on the runner, e.g. sysctl -w vm.max_map_count=4194304. If that is not possible, a note on the problem might save other submitters the long restore.
We have not submitted anything for this problem. The gorenstein_walter workspace on the same configuration restores and evaluates fine (about 1.7k cfsg modules).
- 主要言語
- Lean
- スター
- 52
- フォーク
- 46
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 16
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
leanprover/lean-eval のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
leanprover/lean-eval#663 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
leanprover/lean-eval#659 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
leanprover/lean-eval#655 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
leanprover/lean-eval#642 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
leanprover/lean-eval#634 ·
メンテナーはふだん 1 日以内に返信
leanprover/lean-eval の issue をすべて見る
似ている issue
-
fix: production-image scan fails on base-image CVEs (libzstd, libssl)対応中かも @Kravalg が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
VilnaCRM-Org/notification-service#41 ·
メンテナーはふだん 4 日以内に返信
-
agentic-workflows
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
opencollective/opencollective-frontend#12789 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Looking for author Outdated content
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
strapi/community-content#1707 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信