arcsde10 postgresql8.3 服务停止问题
---恢复内容开始---
arcsde10 安装在windows server2008 R2 X64 上。
从.gdb文件数据库 拷贝40W多的数据到ArcSDE ,然后postgresql就停止了,arcsde服务还没停止。真是够呛的。
到底是为什么啊?我先看看postgresql的日志吧:
pg的日志文件位于:C:\Program Files (x86)\PostgreSQL\8.3\data\pg_log
打开里现在最近的那个:这个是刚刚开启服务的
2013-08-05 17:33:45 HKT LOG: database system was interrupted; last known up at 2013-08-05 17:27:08 HKT
2013-08-05 17:33:45 HKT LOG: database system was not properly shut down; automatic recovery in progress
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT LOG: redo starts at 2/3D3C9FB8
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: record with zero length at 2/3DFBDFA0
2013-08-05 17:33:45 HKT LOG: redo done at 2/3DFBDF70
2013-08-05 17:33:45 HKT LOG: last completed transaction was at log time 2013-08-05 17:31:09.121+08
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: database system is ready to accept connections
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: autovacuum launcher started
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT ERROR: SAVEPOINT can only be used in transaction blocks
2013-08-05 17:33:46 HKT STATEMENT: SAVEPOINT sp_sde_1375695226_0_183466
2013-08-05 17:33:46 HKT NOTICE: there is no transaction in progress
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT ERROR: SAVEPOINT can only be used in transaction blocks
2013-08-05 17:33:46 HKT STATEMENT: SAVEPOINT sp_sde_1375695226_0_183469
2013-08-05 17:33:46 HKT NOTICE: there is no transaction in progress
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:47 HKT ERROR: relation "sde.sch_dataset" does not exist
2013-08-05 17:33:47 HKT STATEMENT: SELECT 1 FROM sde.sde.SCH_DATASET WHERE 1 = 0
2013-08-05 17:34:01 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:36:29 HKT ERROR: relation "sde.sch_dataset" does not exist
2013-08-05 17:36:29 HKT STATEMENT: SELECT 1 FROM sde.sde.SCH_DATASET WHERE 1 = 0
刚开启服务,里面就有 ERROR的错误,这不是FATAL错误,就没关系。
看看出现FATAL错误的这个日志:
2013-08-05 17:30:04 HKT ERROR: relation "sde.sde_logfiles" does not exist
2013-08-05 17:30:04 HKT STATEMENT: SELECT logfile_name, logfile_id, logfile_data_id, registration_id, flags, session_tag, column_name, logfile_data_db, logfile_data_owner, logfile_data_table FROM sde.sde.sde_logfiles WHERE flags%2 = 0
2013-08-05 17:30:13 HKT ERROR: relation "sde.pnamehenan_none" does not exist
2013-08-05 17:30:13 HKT STATEMENT: select sde.sde.pnamehenan_none.* from sde.sde.PNamehenan_none
2013-08-05 17:30:13 HKT ERROR: index "r178_sde_rowid_uk" does not exist
2013-08-05 17:30:13 HKT STATEMENT: drop index sde.r178_sde_rowid_uk
2013-08-05 17:30:13 HKT ERROR: function sde.sde.i178_get_ids(integer, integer) does not exist at character 8
2013-08-05 17:30:13 HKT HINT: No function matches the given name and argument types. You might need to add explicit type casts.
2013-08-05 17:30:13 HKT STATEMENT: SELECT sde.sde.i178_get_ids ($1,$2)
2013-08-05 17:30:13 HKT NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "i178_pk" for table "i178"
2013-08-05 17:30:13 HKT ERROR: column "shape" does not exist at character 52
2013-08-05 17:30:13 HKT STATEMENT: SELECT COUNT(*) FROM sde.sde.pnamehenan_none WHERE Shape IS NOT NULL
2013-08-05 17:31:09 HKT LOG: server process (PID 5688) was terminated by exception 0xC0000005
2013-08-05 17:31:09 HKT HINT: See C include file "ntstatus.h" for a description of the hexadecimal value.
2013-08-05 17:31:09 HKT LOG: terminating any other active server processes
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:31:09 HKT FATAL: the database system is in recovery mode
2013-08-05 17:31:09 HKT LOG: all server processes terminated; reinitializing
2013-08-05 17:31:19 HKT FATAL: pre-existing shared memory block is still in use
2013-08-05 17:31:19 HKT HINT: Check if there are any old server processes still running, and terminate them.
在ntstatus.h中,有一行:
#define STATUS_ACCESS_VIOLATION ((NTSTATUS)0xC0000005L) // winnt
就是这个错误了。尼玛,查了一下 这就是段错误(segmentation fault)啊。PostGreSQL居然段错误停止了。。不过我安装的arcsde10 for windows自带的pg,8.3不是最新版本的PostGreSQL。可能新版本解决了bug呢。8.x最新的是8.4 我试试?应该可以安全升级才是的。9.x的估计与8.x的相差很大。
---恢复内容结束---
arcsde10 安装在windows server2008 R2 X64 上。
从.gdb文件数据库 拷贝40W多的数据到ArcSDE ,然后postgresql就停止了,arcsde服务还没停止。真是够呛的。
到底是为什么啊?我先看看postgresql的日志吧:
pg的日志文件位于:C:\Program Files (x86)\PostgreSQL\8.3\data\pg_log
打开里现在最近的那个:这个是刚刚开启服务的
2013-08-05 17:33:45 HKT LOG: database system was interrupted; last known up at 2013-08-05 17:27:08 HKT
2013-08-05 17:33:45 HKT LOG: database system was not properly shut down; automatic recovery in progress
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT LOG: redo starts at 2/3D3C9FB8
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:45 HKT LOG: record with zero length at 2/3DFBDFA0
2013-08-05 17:33:45 HKT LOG: redo done at 2/3DFBDF70
2013-08-05 17:33:45 HKT LOG: last completed transaction was at log time 2013-08-05 17:31:09.121+08
2013-08-05 17:33:45 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:45 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: database system is ready to accept connections
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT FATAL: the database system is starting up
2013-08-05 17:33:46 HKT LOG: autovacuum launcher started
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT ERROR: SAVEPOINT can only be used in transaction blocks
2013-08-05 17:33:46 HKT STATEMENT: SAVEPOINT sp_sde_1375695226_0_183466
2013-08-05 17:33:46 HKT NOTICE: there is no transaction in progress
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:46 HKT ERROR: SAVEPOINT can only be used in transaction blocks
2013-08-05 17:33:46 HKT STATEMENT: SAVEPOINT sp_sde_1375695226_0_183469
2013-08-05 17:33:46 HKT NOTICE: there is no transaction in progress
2013-08-05 17:33:46 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:33:47 HKT ERROR: relation "sde.sch_dataset" does not exist
2013-08-05 17:33:47 HKT STATEMENT: SELECT 1 FROM sde.sde.SCH_DATASET WHERE 1 = 0
2013-08-05 17:34:01 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:36:29 HKT ERROR: relation "sde.sch_dataset" does not exist
2013-08-05 17:36:29 HKT STATEMENT: SELECT 1 FROM sde.sde.SCH_DATASET WHERE 1 = 0
刚开启服务,里面就有 ERROR的错误,这不是FATAL错误,就没关系。
看看出现FATAL错误的这个日志:
2013-08-05 17:30:04 HKT ERROR: relation "sde.sde_logfiles" does not exist
2013-08-05 17:30:04 HKT STATEMENT: SELECT logfile_name, logfile_id, logfile_data_id, registration_id, flags, session_tag, column_name, logfile_data_db, logfile_data_owner, logfile_data_table FROM sde.sde.sde_logfiles WHERE flags%2 = 0
2013-08-05 17:30:13 HKT ERROR: relation "sde.pnamehenan_none" does not exist
2013-08-05 17:30:13 HKT STATEMENT: select sde.sde.pnamehenan_none.* from sde.sde.PNamehenan_none
2013-08-05 17:30:13 HKT ERROR: index "r178_sde_rowid_uk" does not exist
2013-08-05 17:30:13 HKT STATEMENT: drop index sde.r178_sde_rowid_uk
2013-08-05 17:30:13 HKT ERROR: function sde.sde.i178_get_ids(integer, integer) does not exist at character 8
2013-08-05 17:30:13 HKT HINT: No function matches the given name and argument types. You might need to add explicit type casts.
2013-08-05 17:30:13 HKT STATEMENT: SELECT sde.sde.i178_get_ids ($1,$2)
2013-08-05 17:30:13 HKT NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "i178_pk" for table "i178"
2013-08-05 17:30:13 HKT ERROR: column "shape" does not exist at character 52
2013-08-05 17:30:13 HKT STATEMENT: SELECT COUNT(*) FROM sde.sde.pnamehenan_none WHERE Shape IS NOT NULL
2013-08-05 17:31:09 HKT LOG: server process (PID 5688) was terminated by exception 0xC0000005
2013-08-05 17:31:09 HKT HINT: See C include file "ntstatus.h" for a description of the hexadecimal value.
2013-08-05 17:31:09 HKT LOG: terminating any other active server processes
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT WARNING: terminating connection because of crash of another server process
2013-08-05 17:31:09 HKT DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2013-08-05 17:31:09 HKT HINT: In a moment you should be able to reconnect to the database and repeat your command.
2013-08-05 17:31:09 HKT LOG: loaded library "$libdir/plugins/plugin_debugger.dll"
2013-08-05 17:31:09 HKT FATAL: the database system is in recovery mode
2013-08-05 17:31:09 HKT LOG: all server processes terminated; reinitializing
2013-08-05 17:31:19 HKT FATAL: pre-existing shared memory block is still in use
2013-08-05 17:31:19 HKT HINT: Check if there are any old server processes still running, and terminate them.
在ntstatus.h中,有一行:
#define STATUS_ACCESS_VIOLATION ((NTSTATUS)0xC0000005L) // winnt
就是这个错误了。尼玛,查了一下 这就是段错误(segmentation fault)啊。PostGreSQL居然段错误停止了。。不过我安装的arcsde10 for windows自带的pg,8.3不是最新版本的PostGreSQL。可能新版本解决了bug呢。8.x最新的是8.4 我试试?应该可以安全升级才是的。9.x的估计与8.x的相差很大。
------------------------------------------------------
安装好了 ArcSDE SP1 补丁后,这个问题算是解决了,顺便把 SP2-SP5 都安装了。要顺序安装,SP5 不包括SP1 的内容的。
SP补丁下载地址:
http://support.esrichina.com.cn/support/download/ServicePack/
http://support.esri.com/en/downloads/patches-servicepacks/list/productid/66
其中ArcSDE SP1-5 所有补丁 解决的问题列表有:
http://gisupdates.esri.com/10sp5/ArcSDE/ArcSDE10sp5-issues.htm
arcsde10 postgresql8.3 服务停止问题的更多相关文章
- C#操作注册服务卸载服务启动服务停止服务.. .
using Microsoft.Win32; using System; using System.Collections; using System.Collections.Generic; usi ...
- 监控windows服务,当服务停止后自动重启服务
近期花时间研究了一下windows和linux下某服务停了后自动重启的功能,在网上收集了些资料,并经过测试,在此整理一下.这里介绍的是windows服务的监控,是通过批处理来实现的.本例是监控wind ...
- 启动和启动和停止MySQL服务停止MySQL服务
1. 启动MySQL服务 启动MySQL服务的命令为: /etc/init.d/mysqld start 命令执行后如图7-5所示,表示启动MySQL服务成功. (点击查看大图)图7-5 启动 ...
- Nginx+Keepalived主备切换(包含nginx服务停止)
原文地址:http://blog.sina.com.cn/s/blog_79ac6aa80101bmed.html Nginx+Keepalived主备切换(包含nginx服务停止) 环境: VM中4 ...
- 子线程导致 Windows 服务停止的情况(Topshelf 结合 Quartz.NET)
Ø 前言 本文主要记录子线程导致 Topshelf 和 Quartz.NET 的 Windows 服务停止的现象,以及使用几种常用子线程的注意事项.因为我们有时可能需要开启多个线程执行复杂的逻辑,如 ...
- mysql服务停止
mysql链接方式分为 tcp链接和 sock链接, 你刚才看到服务停止了还能链接 那种会员是 sock的会话模式 所以需要把所有链接mysql的进程结束掉,才能启动起来的 windows ...
- 因Window服务器自动更新并重启导致WebSphere服务停止服务故障一例
最近公司购买了两台Windows Server 2008 R2服务器用于提供提供Web服务,A机器安装了IHS+DM+WAS8.5集群,B机器安装了Oracle11gR2用于数据存储,两台机器均可连接 ...
- Redis服务停止报错解决方案[NOAUTH Authentication required]
Redis服务器设置密码后,使用service redis stop 会出现以下信息: service redis stop Stopping ... OK (error) NOAUTH Authen ...
- C#管理服务停止启动
由于机器性能问题,把许多服务关闭了,需要用的时候再开启,这样每次都打开服务管理或cmd命令比较麻烦.就自己写了工具显示在桌面上; 声明:ServiceController myController = ...
随机推荐
- org.apache.maven.archiver.MavenArchiver.getManifest错误
eclipse导入新的maven项目时,pom.xml第一行报错: org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.mav ...
- 001.Chrony时间服务器
一 Chrony概览 1.1 Chrony简介 Chrony是一个开源的自由软件,是网络世界协议(NTP)的另一种实现,它能保持系统时钟与时钟服务器(NTP)同步,让时间保持精确. 它由两个程序组成: ...
- 谷歌浏览器测试工具应用Advanced REST client
1.2 http post 在URL栏输入http://httpbin.org/post,选在”POST”类型,在”Payload”栏输入data,最后设置”Content-Type”
- BZOJ.2142.礼物(扩展Lucas)
题目链接 答案就是C(n,m1) * C(n-m1,m2) * C(n-m1-m2,m3)...(mod p) 使用扩展Lucas求解. 一个很简单的优化就是把pi,pi^ki次方存下来,因为每次分解 ...
- mount: unknown filesystem type 'vboxsf' centos ubuntu 处理方案
Vagrant was unable to mount VirtualBox shared folders. This is usually because the filesystem " ...
- springmvc学习总结(一) -- 从零搭建,基础入门
1.新建maven项目 参考mybatis学习笔记(五) -- maven+spring+mybatis从零开始搭建整合详细过程(上)第一部分,修改配置 2.修改pom.xml 文件 <proj ...
- Ural 2036. Intersect Until You're Sick of It 计算几何
2036. Intersect Until You're Sick of It 题目连接: http://acm.timus.ru/problem.aspx?space=1&num=2036 ...
- python之sys.stdout、sys.stdin
转自:http://www.cnblogs.com/turtle-fly/p/3280519.html 本文环境:Python 2.7 使用 print obj 而非 print(obj) sys. ...
- SuperPro 3000U 编程器电源部分
- 在 C# 中,如何发现死锁并防止死锁
在解释死锁如何发生以及如何阻止死锁的过程中,你似乎遇到了问题. 当两个( 最小二) 线程试图获取已经被另一个锁锁定的资源的锁时,就会发生死锁. 线程 1锁定资源 1尝试获取对资源 2的锁定. 同时,线 ...