在生产中运行的asp.net应用程序正在崩溃(asp.net application running in production is crashing)
我有一个使用Asp.net MVC,WebAPI,SignalR等技术组合编写的asp.net应用程序,它几乎每天都会崩溃。 我在事件日志中记录了IIS记录的此消息
错误应用程序w3wp.exe,版本6.0.3790.3959,邮票45d691cc,错误模块kernel32.dll,版本5.2.3790.4062
- 我的应用程序日志中没有错误(log4net)
- 应用程序和系统日志中没有其他日志
- 我无法在生产服务器中安装任何工具或分析器,因为它需要多级别的批准和权限。
我知道我们可以使用某种CLR分析器来分析崩溃,但即使这需要批准,我们还有一种情况,即分析器导致我们的应用程序真正变慢,因为应用程序非常繁琐(因此signalR)。所以我是寻找对运行时影响最小的解决方案,但希望找出崩溃的根本原因。
I have an asp.net application written using a combination of technologies such as Asp.net MVC,WebAPI,SignalR etc and it is crashing almost everyday randmoly. I get this message logged by IIS in the event logs
Faulting application w3wp.exe, version 6.0.3790.3959, stamp 45d691cc, faulting module kernel32.dll, version 5.2.3790.4062
- There are no erros in my application log(log4net)
- There are no other logs in the application and system logs
- I cannot install any tools or profiler in the production server as it requires many levels of approvals and privileges.
I understand that we can use some kind of CLR profiler to get the crash analyzed but even that requires approval and we had a situation where the profiler was causing real slowness to our application as the application is very chatty(Hence signalR) .So I am looking for a solution with minimal impact on runtime but would like to figure out the root cause of the crash.
原文:https://stackoverflow.com/questions/45289291
最满意答案
一种解决方案是创建三个类,“上一个”,“活动”和“下一个”,并绝对定位这些类,使“前一个”离开屏幕左侧,“当前”显示在屏幕上,“下一个”是屏幕右侧。 你可以使用CSS3来动画他们的位置,JS可以根据活动图像来切换他们的类。 因此,当幻灯片循环通过用户时,将看到“上一个”图像从左到右转换到屏幕上的“当前”位置,并将“当前”图像转换到屏幕外的“下一个”位置。
One solution would be to create three classes, "previous", "active" and "next" and absolutely position those classes so that "previous" is off the screen to the left, "current" is displayed on screen and "next" is off the screen to the right. You can use CSS3 to animate their positions and JS to switch out their classes depending on what is the active image. Therefore when your slideshow loops through the user will see the "previous" image transitioning to the "current" position on screen from left to right, and the "current" image to the "next" position off the screen.
相关问答
更多-
下列中不属于面向对象的编程语言的是?[2022-05-30]
a -
看,如果你可以完美地离线保存和查看缩略图,如果它不能在线工作,那么你可以在线尝试一些事情 检查文件夹/垂直目录属性。 给该文件夹读写权限。 检查文件夹拼写。 see, if you can save and view thumbnails offline perfectly and if it is not workin online only then you can try few things online check your folder/vertual directory properties. ...
-
一种解决方案是创建三个类,“上一个”,“活动”和“下一个”,并绝对定位这些类,使“前一个”离开屏幕左侧,“当前”显示在屏幕上,“下一个”是屏幕右侧。 你可以使用CSS3来动画他们的位置,JS可以根据活动图像来切换他们的类。 因此,当幻灯片循环通过用户时,将看到“上一个”图像从左到右转换到屏幕上的“当前”位置,并将“当前”图像转换到屏幕外的“下一个”位置。 One solution would be to create three classes, "previous", "active" and "next ...
-
我遇到了缩略图没有被创建的问题。 你可能有类似的问题。 背景/问题 我的图像没有被保存,也没有显示缩略图。 这是因为AvalancheImagineBundle的最新版本与Symfony.com提供的Symfony2标准版不兼容。 最新的提交改变了一些使用语句。 您可以通过导航到正在显示的图像来查看这是否是您的问题(在我的情况下,这是/uploads/media/4efc8d3e5c37d.png)。 一旦出现,如果您在讨论'Filesystem'时出现错误,请执行以下操作: 解 我没有更新symfony2 ...
-
只是想分享我如何解决我的问题。 由于我只想要一个纯粹的javascript解决方案,我使用一次性画布元素来做脏工作。 这是我的相同代码: function resizeImage(url, width, height, callback, file) { console.log("In_resizeImage"); var sourceImage = new Image(); sourceImage.onload = (function (f) { return function ...
-
经过长时间的不懈尝试,解决方案就在这里 1.您需要在缩略图表中的图像表中找到图像唯一ID的图像ID,如果您不理解它,请查询缩略图提供者( MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI ),请参阅此处 ,特别是IMAGE_ID , 第1步是获得reterievedImageId 。 reterievedImageId=Long.parseLong(cursor.getString(imageIdInImages)); 2.现在使用reterievedIm ...
-
根据此链接对createthumbnail函数进行一些更改。 代替 $this->load->library('image_lib',$config); 使用 $this->load->library('image_lib'); // Set your config up $this->image_lib->initialize($config); // Do your manipulation $this->image_lib->clear(); 新的createThumbnail函数: //Creat ...
-
您必须将href="large_image_path; ?>"为像href="show_image.php?image_path=large_image_path; ?>" 在show_image.php中,您可以通过$_REQUEST['image_path']来获取图像的路径,并将其添加到代码中,如下所示:
如何在Cocoa中为用户选择实现基于缩略图的视图?(How can I implement a thumbnail-based view for user selection in Cocoa?)[2023-04-25]
你想要IKImageBrowserView。 You want IKImageBrowserView.这是创建缩略图的默认方式。 迷你型 Bitmap thumb; //MINI_KIND, size: 512 x 384 thumbnail thumb = ThumbnailUtils.createVideoThumbnail(filePath, MediaStore.Video.Thumbnails.MINI_KIND); img_tumbnail.setImageBitmap(thumb); 对于Micro Kind Bitmap thumb; //MICRO_K ...相关文章
更多- Chapter 9 - Securing Your Application -- Professional ASP.NET MVC 1.0
- Full-Text Search in ASP.NET using Lucene.NET
- Running Solr with Maven
- 《DotNetNuke 4 高级编程》(Professional DotNetNuke 4: Open Source Web Application Framework for ASP.NET 2.0)扫描版[PDF]
- HDFS patch前后Ganglia看到running processes变化的分析
- asp.net 模拟CURL调用微信公共平台API 上传下载多媒体文
- AMF: ASP.NET Mobile Framework
- Twitter Storm 在生产集群运行拓扑
- Twitter Storm 在生产集群运行拓扑
- asp.net 列表控件
最新问答
更多- 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
- 如何通过引用返回对象?(How is returning an object by reference possible?)
- 矩阵如何存储在内存中?(How are matrices stored in memory?)
- 每个请求的Java新会话?(Java New Session For Each Request?)
- css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
- 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
- xcode语法颜色编码解释?(xcode syntax color coding explained?)
- 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
- 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
- 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
- 西安哪有PLC可控制编程的培训
- 在Entity Framework中选择基类(Select base class in Entity Framework)
- 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
- 电脑二级VF有什么用
- Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
- 金华英语角.
- 手机软件如何制作
- 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
- 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
- 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
- Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
- 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
- python的访问器方法有哪些
- DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
- 在Ruby中对组合进行排序(Sorting a combination in Ruby)
- 网站开发的流程?
- 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
- 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
- 透明度错误IE11(Transparency bug IE11)
- linux的基本操作命令。。。