<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>58405</bug_id>
          
          <creation_ts>2026-03-26 17:53:26 +0300</creation_ts>
          <short_desc>Установить LimitNOFILE=65536 в telemt.service</short_desc>
          <delta_ts>2026-04-03 00:10:52 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>telemt</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Жора Змейкин">katze_942</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>284624</commentid>
    <comment_count>0</comment_count>
    <who name="Жора Змейкин">katze_942</who>
    <bug_when>2026-03-26 17:53:26 +0300</bug_when>
    <thetext>Стандартный лимит NOFILE 1024 очень быстро исчерпывается, в официальной документации просят устанавливать более высокий лимит:

https://github.com/telemt/telemt/blob/a383efcb21e478700ca731b022cddae1bef10552/README.md?plain=1#L216

https://github.com/telemt/telemt/blob/a383efcb21e478700ca731b022cddae1bef10552/docs/QUICK_START_GUIDE.ru.md?plain=1#L130</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284955</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2026-04-02 00:25:26 +0300</bug_when>
    <thetext># serv telemt cat
 # systemctl cat telemt
# /usr/lib/systemd/system/telemt.service
[Unit]
Description=Telemt - MTProxy for Telegram
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/telemt /etc/telemt/config.toml
Restart=on-failure
WorkingDirectory=/var/lib/telemt
StateDirectory=telemt
DynamicUser=yes
AmbientCapabilities=CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target

# /etc/systemd/system/telemt.service.d/limits.conf
[Service]
LimitNOFILE=65536</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285020</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2026-04-03 00:10:52 +0300</bug_when>
    <thetext>Исправлено в telemt 3.3.35-alt1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>