[issue42166] corrupted size vs. prev_size

2020-10-27 Thread kannan
kannan added the comment: As you said we are using a threaded consumers in which main thread will create connection and listener thread will receive message. We are passing main thread object to listener to acknowledge the message using connection object (conn.ack) in connection class

[issue42166] corrupted size vs. prev_size

2020-10-27 Thread kannan
kannan added the comment: we are installing python using wget https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tgz export LD_LIBRARY_PATH=/usr/local/Python3.7/lib export PATH="/usr/local/bin:$PATH" -- ___ Python track

[issue42166] corrupted size vs. prev_size

2020-10-27 Thread kannan
kannan added the comment: This error happens randomly and we couldn't able to reproduce the error. -- ___ Python tracker <https://bugs.python.org/is

[issue42166] corrupted size vs. prev_size

2020-10-27 Thread kannan
kannan added the comment: we didn't compile the _ssl module -- ___ Python tracker <https://bugs.python.org/issue42166> ___ ___ Python-bugs-list m

[issue42166] corrupted size vs. prev_size

2020-10-27 Thread kannan
kannan added the comment: Thanks for the reply Christian Heimes Environment details 1). os - centos 7 2). python - 3.7.3 python installed inside docker container and we are using AWS ECS with fargate for docker container deployment while installing python37 we are copying below files cp

[issue42166] corrupted size vs. prev_size

2020-10-27 Thread kannan
kannan added the comment: Implementation details 1). python long running stomp.py client (stomp+ssl) 2). main process thread used to create connection (while true sleep for holding the process) 3). listener thread receives message and processes it

[issue42166] corrupted size vs. prev_size

2020-10-27 Thread kannan
kannan added the comment: Implementation details 1). python long running stomp.py client (stomp+ssl) 2). main process thread used to create connection (while true sleep for holding the process) 3). listener thread receives message in another thread

[issue42166] corrupted size vs. prev_size

2020-10-27 Thread kannan
kannan added the comment: python process getting killed after this error -- ___ Python tracker <https://bugs.python.org/issue42166> ___ ___ Python-bugs-list m

[issue42166] corrupted size vs. prev_size

2020-10-27 Thread kannan
New submission from kannan : Getting the below error from long running python processes -- 2020-10-18T21:52:59.383Z === Backtrace: = 2020-10-18T21:52:59.383Z /lib64/libc.so.6(+0x7f3e4)[0x7f7bd3e053e4] 2020-10-18T21:52:59.383Z

[issue11693] memory leak in email.generator.Generator().flatten() method

2011-03-28 Thread Kaushik Kannan
Kaushik Kannan added the comment: I'm on Ubuntu 10.04 with Python 2.6.5, Python 3.1 is also available in the repos, I'll try that and post back. -- ___ Python tracker <http://bugs.python.o

[issue11693] memory leak in email.generator.Generator().flatten() method

2011-03-28 Thread Kaushik Kannan
Kaushik Kannan added the comment: The memory usage trace as printed out by guppy is attached. For every new call of the Generator.flatten() method by the MIMEMultipart.as_string() method, the number of objects increases by 3 and the total size increases by 484Bytes. -- Added file

[issue11693] memory leak in email.generator.Generator().flatten() method

2011-03-28 Thread Kaushik Kannan
New submission from Kaushik Kannan : I wrote a daemon to monitor a directory and send out emails periodically. To create the email, I used MIMEMultipart() object. When as_string() method is called on the MIMEMultipart() object, it seemed to cause memory leaks. On looking at the as_string

[issue11693] memory leak in email.generator.Generator().flatten() method

2011-03-27 Thread Kaushik Kannan
Changes by Kaushik Kannan : -- components: IO, Library (Lib) files: debug_as_string.py nosy: Kaushik.Kannan, barry, r.david.murray priority: normal severity: normal status: open title: memory leak in email.generator.Generator().flatten() method type: resource usage versions: Python 2.6