tensorflow资源耗净 Resource exhausted OOM when allocating tensor with shape

eventlet在ubuntu上出现OSError protocol not found

妙音 posted @ 2020年6月21日 09:24 in tensorflow with tags eventlet python , 1481 阅读

描述

 
tensorflow的nvidia docker镜像使用ubuntu16.04, ubuntu是精简之后的,有些包可能没有。在上面运行eventlet会出现下面问题
 
 

错误内容

 
Traceback (most recent call last):
  File "/app/defect-client/defect_client/cmd/wafer-worker.py", line 14, in <module>
    import eventlet
  File "/usr/local/lib/python3.6/dist-packages/eventlet/__init__.py", line 10, in <module>
    from eventlet import convenience
  File "/usr/local/lib/python3.6/dist-packages/eventlet/convenience.py", line 7, in <module>
    from eventlet.green import socket
  File "/usr/local/lib/python3.6/dist-packages/eventlet/green/socket.py", line 21, in <module>
    from eventlet.support import greendns
  File "/usr/local/lib/python3.6/dist-packages/eventlet/support/greendns.py", line 69, in <module>
    setattr(dns.rdtypes.IN, pkg, import_patched('dns.rdtypes.IN.' + pkg))
  File "/usr/local/lib/python3.6/dist-packages/eventlet/support/greendns.py", line 59, in import_patched
    return patcher.import_patched(module_name, **modules)
  File "/usr/local/lib/python3.6/dist-packages/eventlet/patcher.py", line 126, in import_patched
    *additional_modules + tuple(kw_additional_modules.items()))
  File "/usr/local/lib/python3.6/dist-packages/eventlet/patcher.py", line 100, in inject
    module = __import__(module_name, {}, {}, module_name.split('.')[:-1])
  File "/usr/local/lib/python3.6/dist-packages/dns/rdtypes/IN/WKS.py", line 25, in <module>
    _proto_tcp = socket.getprotobyname('tcp')
OSError: protocol not found
 

解决办法

 
apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall netbase
 
Avatar_small
Digital ALi 说:
2020年10月20日 19:43

Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. 123 movies

Avatar_small
Digital ALi 说:
2020年10月22日 14:53

I know this is one of the most meaningful information for me. And I'm animated reading your article. But should remark on some general things, the website style is perfect; the articles are great. Thanks for the ton of tangible and attainable help. portable hepa filter for hospitals

Avatar_small
Digital ALi 说:
2020年10月24日 17:27 My name is Fred Dex, MS. I am a Master Sommelier (highest achievement in wine) wine tasting expert, entertainer, and educator. I've opened over 30 restaurants and have trained 1000's of wine lovers and wine students to learn to taste wine like a master. If you want to have fun and learn from the best wine taster in the business, I'm your guy! Virtual Wine Tasting
Avatar_small
Digital ALi 说:
2020年10月24日 21:32

It was a very good post indeed. I thoroughly enjoyed reading it in my lunch time. Will surely come and visit this blog more often. Thanks for sharing. betpas

Avatar_small
Digital ALi 说:
2020年10月25日 17:10

Thanks for a very interesting blog. What else may I get that kind of info written in such a perfect approach? I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info. best testosterone booster at walmart

Avatar_small
Digital ALi 说:
2020年10月25日 20:12

You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers. restbet

Avatar_small
2356-tetrachloro-4-b 说:
2020年10月26日 20:11

"A.H-NMR:Comply with the structure£¬ B.LC-MS:Comply with the structure£¬ C.The IR spectrum of sample should be identical with that of reference standard£¬ D.HPLC-ESI-MS£¬ The retention time of the major peak in the chromatogram of the Assay preparation corresponds to that in the chromatogram of the Standard preparation, as obtained in the Assay." 2356-tetrachloro-4-benzoquinone£¬

Avatar_small
Digital ALi 说:
2020年10月28日 15:58

I know this is one of the most meaningful information for me. And I'm animated reading your article. But should remark on some general things, the website style is perfect; the articles are great. Thanks for the ton of tangible and attainable help. dance studio singapore rental

Avatar_small
Digital ALi 说:
2020年10月28日 18:59

I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. tennis coaching singapore

Avatar_small
Digital ALi 说:
2020年10月28日 19:00

Thank you so much for the post you do. I like your post and all you share with us is up to date and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job. Data science training in Mumbai

Avatar_small
Digital_Zone 说:
2020年11月03日 21:03

Believe it or not, it is the type of information I’ve long been trying to find. It matches to my requirements a lot. Thank you for writing this information. Zonnepanelen

Avatar_small
Digital_Zone 说:
2020年11月08日 18:23

Thanks for sharing this valuable content. In my view, if all webmasters and bloggers made good content as you did, the web will be a lot more useful than ever before. Installateur zonnepanelen

Avatar_small
Digital_Zone 说:
2020年11月08日 18:41

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me. Zonnepanelen kopen

Avatar_small
Digital_Zone 说:
2020年11月08日 18:54

I can’t believe focusing long enough to research; much less write this kind of article. You’ve outdone yourself with this material without a doubt. It is one of the greatest contents. Zonnepanelen

Avatar_small
Digital_Zone 说:
2020年11月08日 18:59

It is truly a well-researched content and excellent wording. I got so engaged in this material that I couldn’t wait reading. I am impressed with your work and skill. Thanks. Zonnepanelen installateur

Avatar_small
Digital_Zone 说:
2020年11月08日 19:05

I think this is an informative post and it is very beneficial and knowledgeable. Therefore, I would like to thank you for the endeavors that you have made in writing this article. All the content is absolutely well-researched. Thanks... Zonnepanelen installateur

Avatar_small
Digital_Zone 说:
2020年11月08日 19:10

Fabulous post, you have denoted out some fantastic points, I likewise think this s a very wonderful website. I will visit again for more quality contents and also, recommend this site to all. Thanks. Zonnepanelen

Avatar_small
Digital_Zone 说:
2020年11月08日 19:20

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me. Webdesign bureau

Avatar_small
Digital_Zone 说:
2020年11月08日 19:25

I am always looking for some free kinds of stuff over the internet. There are also some companies which give free samples. But after visiting your blog, I do not visit too many blogs. Thanks. Airco

Avatar_small
Digital_Zone 说:
2020年11月08日 19:32

I'm glad I found this web site, I couldn't find any knowledge on this matter prior to.Also operate a site and if you are ever interested in doing some visitor writing for me if possible feel free to let me know, im always look for people to check out my web site. Chape

Avatar_small
Digital_Zone 说:
2020年11月08日 19:39

Wow! This could be one of the most useful blogs we have ever come across on thesubject. Actually excellent info! I’m also an expert in this topic so I can understand your effort. Airco installateur

Avatar_small
Digital_Zone 说:
2020年11月08日 19:45

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often. Zonnepanelen kopen

Avatar_small
Digital_Zone 说:
2020年11月08日 19:52

It is a good site post without fail. Not too many people would actually, the way you just did. I am impressed that there is so much information about this subject that has been uncovered and you’ve defeated yourself this time, with so much quality. Good Works! Installateurs zonnepanelen

Avatar_small
Digital_Zone 说:
2020年11月08日 19:57

Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts. Webdesign

Avatar_small
Digital_Zone 说:
2020年11月08日 20:03

Wow, excellent post. I'd like to draft like this too - taking time and real hard work to make a great article. This post has encouraged me to write some posts that I am going to write soon. Webdesign

Avatar_small
Digital_Zone 说:
2020年11月08日 20:10

Efficiently written information. It will be profitable to anybody who utilizes it, counting me. Keep up the good work. For certain I will review out more posts day in and day out. Warmtepomp

Avatar_small
Digital_Zone 说:
2020年11月08日 20:16

This article was written by a real thinking writer without a doubt. I agree many of the with the solid points made by the writer. I’ll be back day in and day for further new updates. Airconditioning

Avatar_small
Digital_Zone 说:
2020年11月08日 20:21

You have performed a great job on this article. It’s very precise and highly qualitative. You have even managed to make it readable and easy to read. You have some real writing talent. Thank you so much. Warmtepompen

Avatar_small
Digital_Zone 说:
2020年11月08日 20:26

Attractive, post. I just stumbled upon your weblog and wanted to say that I have liked browsing your blog posts. After all, I will surely subscribe to your feed, and I hope you will write again soon! Airco installatie

Avatar_small
Digital_Zone 说:
2020年11月08日 20:32

I have seen some great stuff here. Worth bookmarking for revisiting. I surprise how much effort you put to create such a great informative website. Your work is truly appreciated around the clock and the globe. Warmtepomp verwarming

Avatar_small
Digital_Zone 说:
2020年11月08日 20:38

Thank you so much as you have been willing to share information with us. We will forever admire all you have done here because you have made my work as easy as ABC. Webdesign bureau

Avatar_small
Digital_Zone 说:
2020年11月08日 20:45

Best work you have done, this online website is cool with great facts and looks. I have stopped at this blog after viewing the excellent content. I will be back for more qualitative work. Warmtepomp installatie

Avatar_small
Digital_Zone 说:
2020年11月08日 20:50

You delivered such an impressive piece to read, giving every subject enlightenment for us to gain information. Thanks for sharing such information with us due to which my several concepts have been cleared. Webdesign bureau

Avatar_small
Digital_Zone 说:
2020年11月08日 20:56

Keep up the good work; I read few posts on this website, including I consider that your blog is fascinating and has sets of the fantastic piece of information. Thanks for your valuable efforts. Erotische massage

Avatar_small
Digital_Zone 说:
2020年11月08日 21:02

Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. There tend to be not many people who can certainly write not so simple posts that artistically. Continue the nice writing Reiki ontspanningsmassage

Avatar_small
Digital_Zone 说:
2020年11月15日 19:30

Fabulous post, you have denoted out some fantastic points, I likewise think this s a very wonderful website. I will visit again for more quality contents and also, recommend this site to all. Thanks. Tax Accountants Crawley

Avatar_small
SaaS Security 说:
2020年12月14日 15:01

I love this blog!! The flash up the top is awesome!!

Avatar_small
Model Paper 2021 说:
2020年12月23日 01:13

I will really appreciate the writer's choice for choosing this excellent article appropriate to my matter.Here is deep description about the article matter which helped me more.

Avatar_small
Pak24tv 说:
2020年12月26日 13:23

I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post. think and grow rich top 10 biggest cities in the world 7 wonder of the world top 10 richest countries in the world

Avatar_small
jacksonseo 说:
2020年12月30日 15:31

Always so interesting to visit your site.What a great info, thank you for sharing. this will help me so much in my learning Pools 

Avatar_small
jacksonseo 说:
2020年12月30日 17:06

Writing with style and getting good compliments on the article is quite hard, to be honest.But you've done it so calmly and with so cool feeling and you've nailed the job. This article is possessed with style and I am giving good compliment. Best! Schwimmbecken 

Avatar_small
jacksonseo 说:
2020年12月30日 17:36

I don’t think many of websites provide this type of information. Holzpool

Avatar_small
You actually make it 说:
2021年1月21日 01:19

You actually make it look so easy with your performance but I find this matter to be actually something which I think I would never comprehend. It seems too complicated and extremely broad for me. I'm looking forward for your next post, I’ll try to get the hang of it!

Avatar_small
art canvas 说:
2021年1月21日 01:19

You actually make it look so easy with your performance but I find this matter to be actually something which I think I would never comprehend. It seems too complicated and extremely broad for me. I'm looking forward for your next post, I’ll try to get the hang of it!

Avatar_small
Vattenskärning 说:
2021年2月23日 00:58

I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article.

Avatar_small
sugar dating 说:
2021年2月23日 21:40

Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our.

Avatar_small
Andrea Natale 说:
2021年2月28日 00:50

This is such a great resource that you are providing and you give it away for free.

Avatar_small
james 说:
2021年2月28日 20:26

It is quite beneficial, although think about the facts when it reaches this target. buffet catering company Northampton

Avatar_small
Party Casino Review 说:
2021年3月02日 16:00

A detailed Party Casino Review for beginners. The major advantage of party casino is nothing but there is chance for players to play those games with their friends while they are having party with their friends.

Avatar_small
james 说:
2021年3月04日 20:27

Listed here you'll learn it is important, them offers the link in an helpful webpage: Harry Styles Store

Avatar_small
webtrick 说:
2021年3月05日 23:35

Thanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post with people.

Avatar_small
ทางเข้า ufabet มือถื 说:
2021年3月07日 02:14

You actually make it look so easy with your performance but I find this matter to be actually something which I think I would never comprehend. It seems too complicated and extremely broad for me. I'm looking forward for your next post, I’ll try to get the hang of it!

Avatar_small
james 说:
2021年3月23日 20:46

This was a really great contest and hopefully I can attend the next one. It was alot of fun and I really enjoyed myself.. https://bit.ly/3rEqRTQ

Avatar_small
james 说:
2021年4月05日 23:25

I can’t imagine focusing long enough to research; much less write this kind of article. You’ve outdone yourself with this material. This is great content. Taurus Love Horoscope

Avatar_small
garage doors Plantat 说:
2021年4月07日 21:56

thank you for your interesting infomation.

Avatar_small
james 说:
2021年4月08日 22:19

i am always looking for some free stuffs over the internet. there are also some companies which gives free samples. dg casino

Avatar_small
james 说:
2021年4月08日 22:20

i am always looking for some free stuffs over the internet. there are also some companies which gives free samples. dg casino

Avatar_small
lisa 说:
2021年4月09日 16:40

Extremely instructive post ! There is a great deal of data here that can enable any business to begin with a fruitful interpersonal interaction campaign. <a href="https://talkwithstranger.com/chatsites/321-chat/">321 chat</a>

Avatar_small
안전놀이터 说:
2021年5月21日 06:01

Excellent and very exciting site. Love to watch. Keep Rocking.

Avatar_small
no censorship video 说:
2021年5月21日 17:26

This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article.

Avatar_small
JD Edwards Supply Ch 说:
2021年5月21日 17:52

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.

Avatar_small
تنظيف فلل وشقق 说:
2021年5月21日 18:50

thank you for your interesting infomation.

Avatar_small
Kitchen Equipment 说:
2021年5月22日 16:41

It is imperative that we read blog post very carefully. I am already done it and find that this post is really amazing.

Avatar_small
Digital marketing co 说:
2021年5月23日 19:08

thanks for the tips and information..i really appreciate it..

Avatar_small
how to get pet odor 说:
2021年5月23日 22:43

I just couldn't leave your website before telling you that I truly enjoyed the top quality info you present to your visitors? Will be back again frequently to check up on new posts.

Avatar_small
coffee with aple syr 说:
2021年5月24日 00:32

I just couldn't leave your website before telling you that I truly enjoyed the top quality info you present to your visitors? Will be back again frequently to check up on new posts.

Avatar_small
baking powder nutrit 说:
2021年5月24日 03:56

I really enjoyed reading this post, big fan. Keep up the good work andplease tell me when can you publish more articles or where can I read more on the subject?

Avatar_small
web development Mobi 说:
2021年5月24日 04:54

Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work.

Avatar_small
JEE Classes in Manpa 说:
2021年5月24日 05:46

I am very happy to discover your post as it will become on top in my collection of favorite blogs to visit.

Avatar_small
happy birthday cards 说:
2021年5月24日 19:05

I am very happy to discover your post as it will become on top in my collection of favorite blogs to visit.

Avatar_small
beautiful happy birt 说:
2021年5月24日 20:04

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.

Avatar_small
gud nite wallpaper 说:
2021年5月24日 23:05

Your website is really cool and this is a great inspiring article.

Avatar_small
click here 说:
2021年6月12日 15:09

I have bookmarked your blog, the articles are way better than other similar blogs.. thanks for a great blog!

Avatar_small
Onemotion bedrijfsui 说:
2021年6月14日 01:18

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.

Avatar_small
Kinderspeelgoed 说:
2021年6月18日 21:10

Most of the time I don’t make comments on websites, but I'd like to say that this article really forced me to do so. Really nice post!

Avatar_small
check this url 说:
2021年6月30日 02:23

Thank you very much for keep this information.

Avatar_small
apowerpdf 说:
2021年7月10日 16:00

The post is written in very a good manner and it contains many useful information for me.

Avatar_small
cereal milk strain 说:
2021年7月16日 23:12

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter